Enable exchange for haven wallets. (#495)

This commit is contained in:
mkyq
2022-09-01 19:46:14 +01:00
committed by GitHub
parent 0931696fa1
commit 04be884357
5 changed files with 14 additions and 23 deletions
@@ -337,7 +337,7 @@ abstract class DashboardViewModelBase with Store {
}
void updateActions() {
isEnabledExchangeAction = wallet.type != WalletType.haven;
isEnabledExchangeAction = true;
hasExchangeAction = !isHaven;
isEnabledBuyAction = wallet.type != WalletType.haven
&& wallet.type != WalletType.monero;