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:
Matthew Fosse
2023-10-20 04:24:54 +03:00
committed by GitHub
co-authored by fossephate Omar Hatem
parent 374110db54
commit 759b7a5a04
+1 -1
View File
@@ -285,7 +285,7 @@ class BackupService {
await _sharedPreferences.setInt(
PreferencesKey.currentTransactionPriorityKeyLegacy, currentTransactionPriorityKeyLegacy);
if (allowBiometricalAuthentication != null)
if (allowBiometricalAuthentication != null && !Platform.isMacOS && !Platform.isLinux)
await _sharedPreferences.setBool(
PreferencesKey.allowBiometricalAuthenticationKey, allowBiometricalAuthentication);