From 759b7a5a04bbd1eda486be15d89f946dd51992ac Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Thu, 19 Oct 2023 21:24:54 -0400 Subject: [PATCH] disable bio auth for macos (#1138) * disable bio auth for macos * Disable for Linux as well --------- Co-authored-by: fossephate Co-authored-by: Omar Hatem --- lib/core/backup_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/backup_service.dart b/lib/core/backup_service.dart index ad4fe9623..d439969f5 100644 --- a/lib/core/backup_service.dart +++ b/lib/core/backup_service.dart @@ -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);