mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Generic fixes (#1282)
* New versions * Fix unspent coins issue * Fix white screen issues for some users
This commit is contained in:
@@ -922,7 +922,7 @@ abstract class SettingsStoreBase with Store {
|
||||
final allowBiometricalAuthentication = await SecureKey.getBool(
|
||||
secureStorage: secureStorage,
|
||||
sharedPreferences: sharedPreferences,
|
||||
key: SecureKey.pinTimeOutDuration,
|
||||
key: SecureKey.allowBiometricalAuthenticationKey,
|
||||
) ??
|
||||
false;
|
||||
|
||||
@@ -1247,6 +1247,16 @@ abstract class SettingsStoreBase with Store {
|
||||
) ??
|
||||
totpSecretKey;
|
||||
|
||||
final timeOutDuration = await SecureKey.getInt(
|
||||
secureStorage: _secureStorage,
|
||||
sharedPreferences: sharedPreferences,
|
||||
key: SecureKey.pinTimeOutDuration,
|
||||
);
|
||||
|
||||
pinTimeOutDuration = timeOutDuration != null
|
||||
? PinCodeRequiredDuration.deserialize(raw: timeOutDuration)
|
||||
: defaultPinCodeTimeOutDuration;
|
||||
|
||||
allowBiometricalAuthentication = await SecureKey.getBool(
|
||||
secureStorage: _secureStorage,
|
||||
sharedPreferences: sharedPreferences,
|
||||
|
||||
Reference in New Issue
Block a user