Fix Casting issue

OmarHatem committed Nov 18, 2022 at 20:32 UTC a82803de3ae6902cd94b0ec0348d5726404cb62a
1 file changed +3 -3
lib/view_model/settings/settings_view_model.dart
+3 -3
@@ -180,7 +180,7 @@ abstract class SettingsViewModelBase with Store {
180 @action
181 void _showTrades() => actionlistDisplayMode.add(ActionListDisplayMode.trades);
182
183 - @action
183 + @action
184 Future<bool> biometricAuthenticated()async{
185 return await _biometricAuth.canCheckBiometrics() && await _biometricAuth.isAuthenticated();
186 }
@@ -195,8 +195,8 @@ abstract class SettingsViewModelBase with Store {
195 _settingsStore.currentTheme = newTheme;
196 }
197
198 - String getDisplayPriority(TransactionPriority priority) {
199 - final _priority = priority;
198 + String getDisplayPriority(dynamic priority) {
199 + final _priority = priority as TransactionPriority;
200
201 if (_wallet.type == WalletType.bitcoin
202 || _wallet.type == WalletType.litecoin) {