Skip to content

Commit

Permalink
fix: showpassword working consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Oct 16, 2020
1 parent 3a1835c commit afcfe15
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions domains/Auth/SignIn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,22 +202,13 @@ const SignIn = ({ navigation }) => {
placeholder="[email protected]"
autoFocus
/>
{!checked ? (
<FormInput
label={I18n.t('signIn.password')}
formikProps={formikProps}
formikKey="password"
placeholder="Password"
secureTextEntry
/>
) : (
<FormInput
label={I18n.t('signIn.password')}
formikProps={formikProps}
formikKey="password"
placeholder="Password"
/>
)}
<FormInput
label={I18n.t('signIn.password')}
formikProps={formikProps}
formikKey="password"
placeholder="Password"
secureTextEntry={!checked}
/>
<Button style={{ marginRight: 'auto' }} onPress={handleForgotPassword}>Forgot password?</Button>
<View style={styles.container}>
<View style={styles.checkbox}>
Expand Down

0 comments on commit afcfe15

Please sign in to comment.