fix: Generic fixes (#1897)
Some checks failed
Cache Dependencies / test (push) Has been cancelled

This commit is contained in:
David Adegoke 2024-12-25 20:28:05 +01:00 committed by GitHub
parent c6b9f054cc
commit 3e93a5ecb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,6 +70,8 @@ class SeedVerificationStepView extends StatelessWidget {
(option) {
return GestureDetector(
onTap: () async {
if (walletSeedViewModel.wrongEntries > 2) return;
final isCorrectWord = walletSeedViewModel.isChosenWordCorrect(option);
final isSecondWrongEntry = walletSeedViewModel.wrongEntries >= 2;
if (!isCorrectWord) {