|
@@ -160,6 +160,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
160
|
160
|
autoCorrect = { false }
|
161
|
161
|
onChangeText = { this._onChangeDisplayName }
|
162
|
162
|
placeholder = 'John Doe'
|
|
163
|
+ textContentType = { 'name' } // iOS only
|
163
|
164
|
value = { displayName } />
|
164
|
165
|
</FormRow>
|
165
|
166
|
<FormRow
|
|
@@ -171,6 +172,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
171
|
172
|
keyboardType = { 'email-address' }
|
172
|
173
|
onChangeText = { this._onChangeEmail }
|
173
|
174
|
placeholder = 'email@example.com'
|
|
175
|
+ textContentType = { 'emailAddress' } // iOS only
|
174
|
176
|
value = { email } />
|
175
|
177
|
</FormRow>
|
176
|
178
|
<FormSectionHeader
|
|
@@ -183,9 +185,11 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
183
|
185
|
autoCapitalize = 'none'
|
184
|
186
|
autoCorrect = { false }
|
185
|
187
|
editable = { this.props._serverURLChangeEnabled }
|
|
188
|
+ keyboardType = { 'url' }
|
186
|
189
|
onBlur = { this._onBlurServerURL }
|
187
|
190
|
onChangeText = { this._onChangeServerURL }
|
188
|
191
|
placeholder = { this.props._serverURL }
|
|
192
|
+ textContentType = { 'URL' } // iOS only
|
189
|
193
|
value = { serverURL } />
|
190
|
194
|
</FormRow>
|
191
|
195
|
<FormRow
|
|
@@ -205,12 +209,12 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
205
|
209
|
<FormRow
|
206
|
210
|
label = 'settingsView.version'>
|
207
|
211
|
<Text>
|
208
|
|
- { `${AppInfo.version} build ${AppInfo.buildNumber}` }
|
|
212
|
+ {`${AppInfo.version} build ${AppInfo.buildNumber}`}
|
209
|
213
|
</Text>
|
210
|
214
|
</FormRow>
|
211
|
215
|
<FormSectionHeader
|
212
|
216
|
label = 'settingsView.advanced' />
|
213
|
|
- { this._renderAdvancedSettings() }
|
|
217
|
+ {this._renderAdvancedSettings()}
|
214
|
218
|
</ScrollView>
|
215
|
219
|
</JitsiModal>
|
216
|
220
|
);
|