mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
disable bio auth for macos (#1138)
* disable bio auth for macos * Disable for Linux as well --------- Co-authored-by: fossephate <fosse@book.local> Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
parent
374110db54
commit
759b7a5a04
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class BackupService {
|
||||||
await _sharedPreferences.setInt(
|
await _sharedPreferences.setInt(
|
||||||
PreferencesKey.currentTransactionPriorityKeyLegacy, currentTransactionPriorityKeyLegacy);
|
PreferencesKey.currentTransactionPriorityKeyLegacy, currentTransactionPriorityKeyLegacy);
|
||||||
|
|
||||||
if (allowBiometricalAuthentication != null)
|
if (allowBiometricalAuthentication != null && !Platform.isMacOS && !Platform.isLinux)
|
||||||
await _sharedPreferences.setBool(
|
await _sharedPreferences.setBool(
|
||||||
PreferencesKey.allowBiometricalAuthenticationKey, allowBiometricalAuthentication);
|
PreferencesKey.allowBiometricalAuthenticationKey, allowBiometricalAuthentication);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue