Skip to content

Commit

Permalink
Android hide password (#121)
Browse files Browse the repository at this point in the history
* Fix hiding passwords on Android

* Adding padding to continue as guest button

* Fixed google maps directions bug

* Reverted forcelatlon after review issues
  • Loading branch information
wangannie authored Apr 20, 2020
1 parent e604fef commit a0cc185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/AuthTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function AuthTextField({
error={error}
errorColor={Colors.error}
returnKeyType="done"
keyboardType={fieldType === 'Phone Number' ? 'numeric' : 'default'}
keyboardType={fieldType === 'Phone Number' ? 'numeric' : undefined}
maxLength={fieldType === 'Phone Number' ? 10 : null}
secureTextEntry={fieldType === 'Password'}
labelPadding={6}
Expand Down
2 changes: 1 addition & 1 deletion screens/auth/WelcomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class WelcomeScreen extends React.Component {
</FilledButtonContainer>

<ButtonContainer
style={{ marginTop: 12 }}
style={{ marginTop: 4, padding: 12 }}
onPress={async () => this.guestLogin()}>
<ButtonLabel
style={{ textTransform: 'none' }}
Expand Down

0 comments on commit a0cc185

Please sign in to comment.