mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Fix Casting issue
This commit is contained in:
@@ -180,7 +180,7 @@ abstract class SettingsViewModelBase with Store {
|
||||
@action
|
||||
void _showTrades() => actionlistDisplayMode.add(ActionListDisplayMode.trades);
|
||||
|
||||
@action
|
||||
@action
|
||||
Future<bool> biometricAuthenticated()async{
|
||||
return await _biometricAuth.canCheckBiometrics() && await _biometricAuth.isAuthenticated();
|
||||
}
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user