Fix Casting issue

This commit is contained in:
OmarHatem 2022-11-18 20:32:52 +02:00
parent 549975ecc1
commit a82803de3a

View file

@ -195,8 +195,8 @@ abstract class SettingsViewModelBase with Store {
_settingsStore.currentTheme = newTheme;
}
String getDisplayPriority(TransactionPriority priority) {
final _priority = priority;
String getDisplayPriority(dynamic priority) {
final _priority = priority as TransactionPriority;
if (_wallet.type == WalletType.bitcoin
|| _wallet.type == WalletType.litecoin) {