dynamic max fee rate value (#1395)

This commit is contained in:
Serhii
2024-04-25 18:28:18 +02:00
committed by GitHub
parent 190c8e06b9
commit 9ff6da3d5d
12 changed files with 54 additions and 9 deletions
+7
View File
@@ -166,6 +166,13 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
return null;
}
int? get maxCustomFeeRate {
if (wallet.type == WalletType.bitcoin) {
return bitcoin!.getMaxCustomFeeRate(wallet);
}
return null;
}
@computed
int get customBitcoinFeeRate => _settingsStore.customBitcoinFeeRate;