diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/login/Login.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/auth/login/Login.tsx b/src/view/com/auth/login/Login.tsx index c76c33938..c277bfb9e 100644 --- a/src/view/com/auth/login/Login.tsx +++ b/src/view/com/auth/login/Login.tsx @@ -402,7 +402,9 @@ const LoginForm = ({ blurOnSubmit={false} // prevents flickering due to onSubmitEditing going to next field keyboardAppearance={theme.colorScheme} value={identifier} - onChangeText={str => setIdentifier((str || '').toLowerCase())} + onChangeText={str => + setIdentifier((str || '').toLowerCase().trim()) + } editable={!isProcessing} accessibilityLabel="Username or email address" accessibilityHint="Input the username or email address you used at signup" |