Skip to content

Commit

Permalink
added commented out code back to Cordova, and added prop check into i…
Browse files Browse the repository at this point in the history
…sMobileScreenSize
  • Loading branch information
omgitsmiles committed Aug 14, 2024
1 parent 8b07e11 commit d19ce99
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/js/components/Settings/VoterPhoneVerificationEntry.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,15 @@ class VoterPhoneVerificationEntry extends Component {
if (cancelShouldCloseModal) {
this.closeSignInModalLocal();
} else if (isCordova()) {
if (this.props.showAllSignInOptions) {
// WV-316: seperated Cordovoa and Mobile screen cancel logic, Mobile only shows all sign in options on cancel.
}
// WV-316: seperated Cordovoa and Mobile screen cancel logic, Mobile only shows all sign in options on cancel.
// if (this.props.showAllSignInOptions) {
// this.props.showAllSignInOptions();
// }
} else if (isMobileScreenSize()) {
this.props.showAllSignInOptions();
}
if (this.props.showAllSignInOptions) {
this.props.showAllSignInOptions();
};
};
};

onFocus = () => {
Expand Down

0 comments on commit d19ce99

Please sign in to comment.