Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed May 9, 2024
1 parent de77d6f commit be20ceb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const MnemonicWordInput = React.forwardRef<MnemonicWordInputRef, MnemonicWordInp
[onClearError, onError, onSubmitEditing, setSuggestedWords],
)

const onBlur = React.useCallback(() => {
const handleOnBlur = React.useCallback(() => {
if (word !== selectedWord) {
onSubmitEditing()
}
Expand Down Expand Up @@ -306,7 +306,7 @@ const MnemonicWordInput = React.forwardRef<MnemonicWordInputRef, MnemonicWordInp
onKeyPress(word)
}
}}
onBlur={onBlur}
onBlur={handleOnBlur}
keyboardType={Platform.OS === 'android' ? 'visible-password' : undefined} // to hide keyboard suggestions on android
/>
)
Expand Down

0 comments on commit be20ceb

Please sign in to comment.