Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Oct 19, 2023
1 parent 43eb00d commit 585e890
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 31 deletions.
2 changes: 0 additions & 2 deletions src/components/TextInput/BaseTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import * as StyleUtils from '../../styles/StyleUtils';
import variables from '../../styles/variables';
import Checkbox from '../Checkbox';
import getSecureEntryKeyboardType from '../../libs/getSecureEntryKeyboardType';
import getReturnKeyType from '../../libs/getReturnKeyType';
import CONST from '../../CONST';
import FormHelpMessage from '../FormHelpMessage';
import isInputAutoFilled from '../../libs/isInputAutoFilled';
Expand Down Expand Up @@ -356,7 +355,6 @@ function BaseTextInput(props) {
secureTextEntry={passwordHidden}
onPressOut={props.onPress}
showSoftInputOnFocus={!props.disableKeyboard}
returnKeyType={getReturnKeyType(props.returnKeyType, props.keyboardType)}
keyboardType={getSecureEntryKeyboardType(props.keyboardType, props.secureTextEntry, passwordHidden)}
value={props.value}
selection={props.selection}
Expand Down
16 changes: 0 additions & 16 deletions src/libs/getReturnKeyType/index.android.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/libs/getReturnKeyType/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/libs/getReturnKeyType/types.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function NewContactMethodPage(props) {
ref={(el) => (loginInputRef.current = el)}
inputID="phoneOrEmail"
autoCapitalize="none"
returnKeyType="done"
returnKeyType="go"
maxLength={CONST.LOGIN_CHARACTER_LIMIT}
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/signin/LoginForm/BaseLoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function LoginForm(props) {
accessibilityLabel={translate('loginForm.phoneOrEmail')}
accessibilityRole={CONST.ACCESSIBILITY_ROLE.TEXT}
value={login}
returnKeyType="done"
returnKeyType="go"
autoCompleteType="username"
textContentType="username"
nativeID="username"
Expand Down

0 comments on commit 585e890

Please sign in to comment.