reuse existing passphrase field

This commit is contained in:
Czarek Nakamoto 2025-01-19 12:52:37 +01:00
parent da68c8adf2
commit 3147549d6e
2 changed files with 3 additions and 1 deletions

View file

@ -78,6 +78,8 @@ abstract class AdvancedPrivacySettingsViewModelBase with Store {
WalletType.ethereum,
WalletType.polygon,
WalletType.tron,
WalletType.monero,
WalletType.wownero,
].contains(type);
@computed

View file

@ -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;