Skip to content

Commit

Permalink
Merge pull request #6904 from Expensify/vit-enterOnCurrentPassword
Browse files Browse the repository at this point in the history
Make the current password field also submittable via Enter
  • Loading branch information
Nicholas Murray authored Dec 30, 2021
2 parents 7fcb02c + 7d95f69 commit 98d50cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/settings/PasswordPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class PasswordPage extends Component {
returnKeyType="done"
hasError={this.state.errors.currentPassword}
errorText={this.getErrorText('currentPassword')}
onSubmitEditing={this.submit}
/>
</View>
<View style={styles.mb6}>
Expand Down

0 comments on commit 98d50cb

Please sign in to comment.