fix manage pow nodes setting appearing on other wallets

This commit is contained in:
fosse 2023-08-21 14:42:53 -04:00
parent 9ab4ece4ee
commit c5af031354

View file

@ -312,7 +312,7 @@ abstract class DashboardViewModelBase with Store {
bool isOutdatedElectrumWallet;
@computed
bool get hasPowNodes => wallet.type == WalletType.nano || wallet.type != WalletType.banano;
bool get hasPowNodes => wallet.type == WalletType.nano || wallet.type == WalletType.banano;
Future<void> reconnect() async {
final node = appStore.settingsStore.getCurrentNode(wallet.type);