mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Fix Casting issue
This commit is contained in:
parent
549975ecc1
commit
a82803de3a
1 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,7 @@ abstract class SettingsViewModelBase with Store {
|
||||||
@action
|
@action
|
||||||
void _showTrades() => actionlistDisplayMode.add(ActionListDisplayMode.trades);
|
void _showTrades() => actionlistDisplayMode.add(ActionListDisplayMode.trades);
|
||||||
|
|
||||||
@action
|
@action
|
||||||
Future<bool> biometricAuthenticated()async{
|
Future<bool> biometricAuthenticated()async{
|
||||||
return await _biometricAuth.canCheckBiometrics() && await _biometricAuth.isAuthenticated();
|
return await _biometricAuth.canCheckBiometrics() && await _biometricAuth.isAuthenticated();
|
||||||
}
|
}
|
||||||
|
@ -195,8 +195,8 @@ abstract class SettingsViewModelBase with Store {
|
||||||
_settingsStore.currentTheme = newTheme;
|
_settingsStore.currentTheme = newTheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
String getDisplayPriority(TransactionPriority priority) {
|
String getDisplayPriority(dynamic priority) {
|
||||||
final _priority = priority;
|
final _priority = priority as TransactionPriority;
|
||||||
|
|
||||||
if (_wallet.type == WalletType.bitcoin
|
if (_wallet.type == WalletType.bitcoin
|
||||||
|| _wallet.type == WalletType.litecoin) {
|
|| _wallet.type == WalletType.litecoin) {
|
||||||
|
|
Loading…
Reference in a new issue