mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-25 05:58:42 +01:00
CW-335-Add-Payfura-widget-for-XMR-Buy (#857)
* add payFura widget * Update pr_test_build.yml * Change Buy strings Also add Sell string to ZH, which was missing * minor fixes * update alert for monero.com --------- Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com> Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
co-authored by
Justin Ehrenhofer
Omar Hatem
parent
7cd4e6583c
commit
72df78ad8c
@@ -402,12 +402,11 @@ abstract class DashboardViewModelBase with Store {
|
||||
|
||||
void updateActions() {
|
||||
hasExchangeAction = !isHaven;
|
||||
isEnabledBuyAction = wallet.type != WalletType.haven
|
||||
&& wallet.type != WalletType.monero;
|
||||
hasBuyAction = !isMoneroOnly && !isHaven;
|
||||
isEnabledBuyAction = wallet.type != WalletType.haven;
|
||||
hasBuyAction = !isHaven;
|
||||
isEnabledSellAction = wallet.type != WalletType.haven
|
||||
&& wallet.type != WalletType.monero
|
||||
&& wallet.type != WalletType.litecoin;
|
||||
hasSellAction = !isMoneroOnly && !isHaven;
|
||||
hasSellAction = !isHaven;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user