mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
fix: restore button not showing up after scanning
This commit is contained in:
parent
e1bdc1db09
commit
ddeef70d05
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ abstract class WalletRestoreViewModelBase extends WalletCreationVM with Store {
|
||||||
WalletRestoreViewModelBase(AppStore appStore, WalletCreationService walletCreationService,
|
WalletRestoreViewModelBase(AppStore appStore, WalletCreationService walletCreationService,
|
||||||
Box<WalletInfo> walletInfoSource, SeedSettingsViewModel seedSettingsViewModel,
|
Box<WalletInfo> walletInfoSource, SeedSettingsViewModel seedSettingsViewModel,
|
||||||
{required WalletType type, this.restoredWallet})
|
{required WalletType type, this.restoredWallet})
|
||||||
: isButtonEnabled = false,
|
: isButtonEnabled = restoredWallet != null,
|
||||||
hasPassphrase = false,
|
hasPassphrase = false,
|
||||||
mode = restoredWallet?.restoreMode ?? WalletRestoreMode.seed,
|
mode = restoredWallet?.restoreMode ?? WalletRestoreMode.seed,
|
||||||
super(appStore, walletInfoSource, walletCreationService, seedSettingsViewModel,
|
super(appStore, walletInfoSource, walletCreationService, seedSettingsViewModel,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue