mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-03 12:24:19 +01:00
CAKE-222 | fixed transaction priority picker on the send page
This commit is contained in:
@@ -38,6 +38,13 @@ abstract class SendViewModelBase with Store {
|
||||
: state = InitialExecutionState(),
|
||||
_cryptoNumberFormat = NumberFormat(),
|
||||
sendAll = false {
|
||||
final _priority = _settingsStore.transactionPriority;
|
||||
|
||||
if (!TransactionPriority.forWalletType(walletType).contains(_priority)) {
|
||||
_settingsStore.transactionPriority =
|
||||
TransactionPriority.forWalletType(walletType).first;
|
||||
}
|
||||
|
||||
_setCryptoNumMaximumFractionDigits();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user