Skip to content

Commit

Permalink
Update BiometricUnlock.swift (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmeat authored Feb 13, 2024
1 parent 12c6d16 commit 0738771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mlem/Logic/BiometricUnlock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BiometricUnlock: ObservableObject {
let reason = "Please authenticate to unlock app."

context.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, localizedReason: reason) { success, _ in
DispatchQueue.main.sync {
DispatchQueue.main.async {
if success {
self.isUnlocked = true
onComplete(.success(()))
Expand Down

0 comments on commit 0738771

Please sign in to comment.