Skip to content

Commit

Permalink
fix(wallet-setup): mnemonic input and navigatiom
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed May 6, 2024
1 parent eb7e5e3 commit 9dd066d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const RemoveWalletScreen = () => {
const styles = useStyles()
const wallet = useSelectedWallet()
const walletName = useWalletName(wallet)
const {resetToWalletSetup, resetToWalletSelection} = useWalletNavigation()
const {resetToWalletSetupInit, resetToWalletSelection} = useWalletNavigation()
const walletManager = useWalletManager()
const queryClient = useQueryClient()

Expand All @@ -41,7 +41,7 @@ export const RemoveWalletScreen = () => {
return
}

resetToWalletSetup()
resetToWalletSetupInit()
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ const MnemonicWordInput = React.forwardRef<MnemonicWordInputRef, MnemonicWordInp
onKeyPress(word)
}
}}
onBlur={() => setSuggestedWords([])}
keyboardType={Platform.OS === 'android' ? 'visible-password' : undefined} // to hide keyboard suggestions on android
/>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export const RestoreWalletScreen = () => {
}

const onFocus = (index: number) => {
setSuggestedWords([])
setFocusedIndex(index)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"start": {
"line": 126,
"column": 25,
"index": 4025
"index": 4033
},
"end": {
"line": 129,
"column": 3,
"index": 4219
"index": 4227
}
},
{
Expand All @@ -21,12 +21,12 @@
"start": {
"line": 130,
"column": 25,
"index": 4246
"index": 4254
},
"end": {
"line": 133,
"column": 3,
"index": 4403
"index": 4411
}
},
{
Expand All @@ -36,12 +36,12 @@
"start": {
"line": 134,
"column": 14,
"index": 4419
"index": 4427
},
"end": {
"line": 137,
"column": 3,
"index": 4523
"index": 4531
}
},
{
Expand All @@ -51,12 +51,12 @@
"start": {
"line": 138,
"column": 19,
"index": 4544
"index": 4552
},
"end": {
"line": 141,
"column": 3,
"index": 4653
"index": 4661
}
},
{
Expand All @@ -66,12 +66,12 @@
"start": {
"line": 142,
"column": 27,
"index": 4682
"index": 4690
},
"end": {
"line": 145,
"column": 3,
"index": 4814
"index": 4822
}
},
{
Expand All @@ -81,12 +81,12 @@
"start": {
"line": 146,
"column": 10,
"index": 4826
"index": 4834
},
"end": {
"line": 149,
"column": 3,
"index": 4928
"index": 4936
}
},
{
Expand All @@ -96,12 +96,12 @@
"start": {
"line": 150,
"column": 26,
"index": 4956
"index": 4964
},
"end": {
"line": 154,
"column": 3,
"index": 5170
"index": 5178
}
}
]

0 comments on commit 9dd066d

Please sign in to comment.