mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[APP-835] trim end of email during login (#1242)

* trim end of email during login

* Switch trimEnd() to trim()

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>

authored by

Ansh
Paul Frazee
and committed by
GitHub
3aadc43c fb1199e2

+3 -1
+3 -1
src/view/com/auth/login/Login.tsx
··· 402 402 blurOnSubmit={false} // prevents flickering due to onSubmitEditing going to next field 403 403 keyboardAppearance={theme.colorScheme} 404 404 value={identifier} 405 - onChangeText={str => setIdentifier((str || '').toLowerCase())} 405 + onChangeText={str => 406 + setIdentifier((str || '').toLowerCase().trim()) 407 + } 406 408 editable={!isProcessing} 407 409 accessibilityLabel="Username or email address" 408 410 accessibilityHint="Input the username or email address you used at signup"