mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-05 05:21:26 -05:00
fix: privileges authentication improvments
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user