fix: privileges authentication improvments

This commit is contained in:
Radek Czemerys
2020-10-13 12:47:13 +02:00
parent 6f555b7cba
commit a93ff2e7bb

View File

@@ -349,7 +349,7 @@ export const AuthenticatePrivileges = ({
/>
{isInput && (
<SectionContainer last={last}>
<SectionedTableCell textInputCell={true} first={first}>
<SectionedTableCell textInputCell={true} first={true}>
<Input
key={Platform.OS === 'android' ? keyboardType : undefined}
ref={
@@ -370,7 +370,11 @@ export const AuthenticatePrivileges = ({
autoFocus={false}
autoCapitalize={'none'}
secureTextEntry={true}
keyboardType={keyboardType}
keyboardType={
privilegeValue.type === PrivilegeCredential.LocalPasscode
? keyboardType
: undefined
}
keyboardAppearance={themeService?.keyboardColorForActiveTheme()}
underlineColorAndroid={'transparent'}
onSubmitEditing={() => {