From 32ef11b00025510721171c5bf43c45c4db56a1f2 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 4 Jul 2026 23:31:24 -0700 Subject: [PATCH] Remove Face ID Permission Text Nucleic-Session: 3EF7F067-2199-41C2-997C-5546C1A8A5C4 Co-authored-by: Nucleic --- .../NucleicRemote/Views/ApprovalCardView.swift | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift b/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift index 1bb53c8..a9c7cbc 100644 --- a/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift +++ b/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift @@ -92,23 +92,6 @@ struct ApprovalCardView: View { case .toolNameWithPattern: "\(approval.toolName) matching this pattern" } } - - private func authenticate() { - let context = LAContext() - var error: NSError? - guard context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) else { - authError = "Biometrics unavailable"; return - } - context.evaluatePolicy( - .deviceOwnerAuthenticationWithBiometrics, - localizedReason: "Approve a \(approval.risk.label) action" - ) { success, evalError in - Task { @MainActor in - if success { biometricPassed = true; authError = nil } - else { authError = evalError?.localizedDescription ?? "Authentication failed" } - } - } - } } /// The full content of an approval, wrapped and selectable. The box sizes to its