format indent code

This commit is contained in:
Godwin Asuquo 2022-11-23 09:05:47 +02:00
parent c67e8c5037
commit 0fcd72f821

View file

@ -208,18 +208,18 @@ abstract class SettingsViewModelBase with Store {
}
String getDisplayPriority(dynamic priority) {
final _priority = priority as TransactionPriority;
final _priority = priority as TransactionPriority;
if (_wallet.type == WalletType.bitcoin
|| _wallet.type == WalletType.litecoin) {
final rate = bitcoin!.getFeeRate(_wallet, _priority);
return bitcoin!.bitcoinTransactionPriorityWithLabel(_priority, rate);
}
if (_wallet.type == WalletType.bitcoin
|| _wallet.type == WalletType.litecoin) {
final rate = bitcoin!.getFeeRate(_wallet, _priority);
return bitcoin!.bitcoinTransactionPriorityWithLabel(_priority, rate);
}
return priority.toString();
return priority.toString();
}
void onDisplayPrioritySelected(TransactionPriority priority) =>
_settingsStore.priority[_wallet.type] = priority;
_settingsStore.priority[_wallet.type] = priority;
}