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>
Matthew Fosse committed
Oct 19, 2023 at 21:24 UTC
759b7a5a04bbd1eda486be15d89f946dd51992ac
1 file changed
+1
-1
lib/core/backup_service.dart
+1
-1
@@ -285,7 +285,7 @@ class BackupService {
285
await _sharedPreferences.setInt(
286
PreferencesKey.currentTransactionPriorityKeyLegacy, currentTransactionPriorityKeyLegacy);
287
288
- if (allowBiometricalAuthentication != null)
288
+ if (allowBiometricalAuthentication != null && !Platform.isMacOS && !Platform.isLinux)
289
await _sharedPreferences.setBool(
290
PreferencesKey.allowBiometricalAuthenticationKey, allowBiometricalAuthentication);
291