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-19 21:24:54 -04:00 committed by GitHub
parent 374110db54
commit 759b7a5a04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);