Skip to content

Commit

Permalink
fix(setup-wallet): regression
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed May 6, 2024
1 parent bdb7b1f commit 92e0e6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ const ClearAllButton = ({onPress}: {onPress: () => void}) => {
const {styles} = useStyles()
const strings = useStrings()
return (
<TouchableOpacity activeOpacity={0.5} style={styles.textView} onPress={onPress}>
<Text style={styles.clearAll}>{strings.clearAll}</Text>
</TouchableOpacity>
<View style={styles.textView}>
<TouchableOpacity activeOpacity={0.5} onPress={onPress}>
<Text style={styles.clearAll}>{strings.clearAll}</Text>
</TouchableOpacity>
</View>
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ export const RestoreWalletScreen = () => {
}

const onFocus = (index: number) => {
if (!isEmptyString(mnemonic)) setMnemonic('')
if (isValidPhrase) setIsValidPhrase(false)
setFocusedIndex(index)
}

Expand Down

0 comments on commit 92e0e6f

Please sign in to comment.