mirror of
https://github.com/balzack/databag.git
synced 2025-05-04 23:45:21 +00:00
tweaks for input placeholders to show in android
This commit is contained in:
parent
f3627ad2e8
commit
9fd27706bb
@ -995,7 +995,8 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
|||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect={false}
|
autoCorrect={false}
|
||||||
label={state.strings.username}
|
label={Platform.OS==='ios' ? state.strings.username : undefined}
|
||||||
|
placeholder={Platform.OS!=='ios' ? state.strings.username : undefined}
|
||||||
value={state.handle}
|
value={state.handle}
|
||||||
left={<TextInput.Icon style={styles.inputIcon} icon="account" />}
|
left={<TextInput.Icon style={styles.inputIcon} icon="account" />}
|
||||||
right={
|
right={
|
||||||
@ -1016,7 +1017,8 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
|||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect={false}
|
autoCorrect={false}
|
||||||
value={state.password}
|
value={state.password}
|
||||||
label={state.strings.password}
|
label={Platform.OS==='ios' ? state.strings.password : undefined}
|
||||||
|
placeholder={Platform.OS!=='ios' ? state.strings.password : undefined}
|
||||||
secureTextEntry={!showPassword}
|
secureTextEntry={!showPassword}
|
||||||
left={<TextInput.Icon style={styles.icon} icon="lock" />}
|
left={<TextInput.Icon style={styles.icon} icon="lock" />}
|
||||||
right={
|
right={
|
||||||
@ -1035,7 +1037,8 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
|||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect={false}
|
autoCorrect={false}
|
||||||
value={state.confirm}
|
value={state.confirm}
|
||||||
label={state.strings.confirmPassword}
|
label={Platform.OS==='ios' ? state.strings.confirmPassword : undefined}
|
||||||
|
placeholder={Platform.OS!=='ios' ? state.strings.confirmPassword : undefined}
|
||||||
secureTextEntry={!showConfirm}
|
secureTextEntry={!showConfirm}
|
||||||
left={<TextInput.Icon style={styles.icon} icon="lock" />}
|
left={<TextInput.Icon style={styles.icon} icon="lock" />}
|
||||||
right={
|
right={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user