mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-06 08:44:35 +00:00
reuse existing passphrase field
This commit is contained in:
parent
da68c8adf2
commit
3147549d6e
2 changed files with 3 additions and 1 deletions
|
@ -78,6 +78,8 @@ abstract class AdvancedPrivacySettingsViewModelBase with Store {
|
|||
WalletType.ethereum,
|
||||
WalletType.polygon,
|
||||
WalletType.tron,
|
||||
WalletType.monero,
|
||||
WalletType.wownero,
|
||||
].contains(type);
|
||||
|
||||
@computed
|
||||
|
|
|
@ -78,7 +78,7 @@ abstract class WalletRestoreViewModelBase extends WalletCreationVM with Store {
|
|||
final bool hasBlockchainHeightLanguageSelector;
|
||||
final bool hasRestoreFromPrivateKey;
|
||||
|
||||
bool get hasPassphrase => [WalletType.bitcoin, WalletType.litecoin, WalletType.bitcoinCash, WalletType.monero, WalletType.wownero].contains(type);
|
||||
bool get hasPassphrase => [WalletType.bitcoin, WalletType.litecoin, WalletType.bitcoinCash].contains(type);
|
||||
|
||||
@observable
|
||||
WalletRestoreMode mode;
|
||||
|
|
Loading…
Reference in a new issue