Enabled Clear button on VerifySeedPhraseController to be visible when user taps the last word

pull/4092/head
Jerome Chan 3 years ago
parent 97315f486f
commit 7f08d6f633
  1. 3
      AlphaWallet/Wallet/ViewControllers/VerifySeedPhraseViewController.swift

@ -307,8 +307,7 @@ extension VerifySeedPhraseViewController: SeedPhraseCollectionViewDelegate {
}
clearError()
if collectionView.viewModel.isEveryWordSelected {
//Deliberately hide the Clear button after user has chosen all the words, as they are likely to want to verify now and we don't want them to accidentally hit the Clear button
clearChooseSeedPhraseButton.isHidden = true
clearChooseSeedPhraseButton.isHidden = false
continueButton.isEnabled = true
} else {
clearChooseSeedPhraseButton.isHidden = false

Loading…
Cancel
Save