feat(welcome/native): updated settings name placeholder example text

This commit is contained in:
Calin Chitu 2022-06-10 15:50:12 +03:00 committed by Calinteodor
parent 746fde7c10
commit 98ef0e74d6
2 changed files with 2 additions and 1 deletions

View File

@ -973,6 +973,7 @@
"disableCrashReportingWarning": "Are you sure you want to disable crash reporting? The setting will be applied after you restart the app.", "disableCrashReportingWarning": "Are you sure you want to disable crash reporting? The setting will be applied after you restart the app.",
"disableP2P": "Disable Peer-To-Peer mode", "disableP2P": "Disable Peer-To-Peer mode",
"displayName": "Display name", "displayName": "Display name",
"displayNamePlaceholderText": "Eg: John Doe",
"email": "Email", "email": "Email",
"header": "Settings", "header": "Settings",
"profileSection": "Profile", "profileSection": "Profile",

View File

@ -211,7 +211,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
label = { this.props.t('settingsView.displayName') } label = { this.props.t('settingsView.displayName') }
mode = 'outlined' mode = 'outlined'
onChangeText = { this._onChangeDisplayName } onChangeText = { this._onChangeDisplayName }
placeholder = 'John Doe' placeholder = { this.props.t('settingsView.displayNamePlaceholderText') }
spellCheck = { false } spellCheck = { false }
style = { styles.textInputContainer } style = { styles.textInputContainer }
textContentType = { 'name' } // iOS only textContentType = { 'name' } // iOS only