Skip to content

Commit

Permalink
disable bio auth for macos (#1138)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Oct 20, 2023
1 parent 374110d commit 759b7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/backup_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 759b7a5

Please sign in to comment.