From e5791215a463095a8094acabf0c70d419280684c Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 19 Nov 2019 16:58:39 -0300 Subject: [PATCH] [IMPROVEMENT] Keyboard and content type on login (#1403) --- app/views/LoginView.js | 4 ++++ app/views/NewServerView.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/app/views/LoginView.js b/app/views/LoginView.js index 87c9cf34..fd3575aa 100644 --- a/app/views/LoginView.js +++ b/app/views/LoginView.js @@ -215,6 +215,8 @@ class LoginView extends React.Component { onChangeText={value => this.setState({ user: value })} onSubmitEditing={() => { this.passwordInput.focus(); }} testID='login-view-email' + textContentType='username' + autoCompleteType='username' /> { this.passwordInput = e; }} @@ -226,6 +228,8 @@ class LoginView extends React.Component { onChangeText={value => this.setState({ password: value })} testID='login-view-password' containerStyle={sharedStyles.inputLastChild} + textContentType='password' + autoCompleteType='password' />