mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
format indent code
This commit is contained in:
parent
c67e8c5037
commit
0fcd72f821
1 changed files with 8 additions and 8 deletions
|
@ -208,18 +208,18 @@ abstract class SettingsViewModelBase with Store {
|
||||||
}
|
}
|
||||||
|
|
||||||
String getDisplayPriority(dynamic priority) {
|
String getDisplayPriority(dynamic priority) {
|
||||||
final _priority = priority as TransactionPriority;
|
final _priority = priority as TransactionPriority;
|
||||||
|
|
||||||
if (_wallet.type == WalletType.bitcoin
|
if (_wallet.type == WalletType.bitcoin
|
||||||
|| _wallet.type == WalletType.litecoin) {
|
|| _wallet.type == WalletType.litecoin) {
|
||||||
final rate = bitcoin!.getFeeRate(_wallet, _priority);
|
final rate = bitcoin!.getFeeRate(_wallet, _priority);
|
||||||
return bitcoin!.bitcoinTransactionPriorityWithLabel(_priority, rate);
|
return bitcoin!.bitcoinTransactionPriorityWithLabel(_priority, rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
return priority.toString();
|
return priority.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onDisplayPrioritySelected(TransactionPriority priority) =>
|
void onDisplayPrioritySelected(TransactionPriority priority) =>
|
||||||
_settingsStore.priority[_wallet.type] = priority;
|
_settingsStore.priority[_wallet.type] = priority;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue