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.",
"disableP2P": "Disable Peer-To-Peer mode",
"displayName": "Display name",
"displayNamePlaceholderText": "Eg: John Doe",
"email": "Email",
"header": "Settings",
"profileSection": "Profile",

View File

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