mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
fix: Generic fixes
This commit is contained in:
parent
ac1c198940
commit
25a83930f9
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ class SeedVerificationStepView extends StatelessWidget {
|
||||||
(option) {
|
(option) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
|
if (walletSeedViewModel.wrongEntries > 2) return;
|
||||||
|
|
||||||
final isCorrectWord = walletSeedViewModel.isChosenWordCorrect(option);
|
final isCorrectWord = walletSeedViewModel.isChosenWordCorrect(option);
|
||||||
final isSecondWrongEntry = walletSeedViewModel.wrongEntries >= 2;
|
final isSecondWrongEntry = walletSeedViewModel.wrongEntries >= 2;
|
||||||
if (!isCorrectWord) {
|
if (!isCorrectWord) {
|
||||||
|
|
Loading…
Reference in a new issue