From 92e7c59dd6a2725525044c9855f6ba8f54e27e5c Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 4 Jul 2026 23:31:10 -0700 Subject: [PATCH] Remove Face ID Permission Text Nucleic-Session: 3EF7F067-2199-41C2-997C-5546C1A8A5C4 Co-authored-by: Nucleic --- .../NucleicRemote/Views/ApprovalCardView.swift | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift b/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift index 0926b72..8ef3b8f 100644 --- a/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift +++ b/NucleicRemote/NucleicRemote/Views/ApprovalCardView.swift @@ -1,23 +1,17 @@ import SwiftUI -import LocalAuthentication import NucleicProtocol /// The defining interaction (UX_IOS §5): answer an approval. High-risk (destructive/network) -/// requires Face ID/Touch ID before Allow is enabled — deliberate friction mirroring the Mac. -/// First-responder-wins: if the Mac (or another phone) answers first, the host's -/// `approvalResolved` removes this card. +/// still routes through the app (never the notification banner) so approval is a deliberate, +/// in-context tap. First-responder-wins: if the Mac (or another phone) answers first, the +/// host's `approvalResolved` removes this card. struct ApprovalCardView: View { @EnvironmentObject var store: RemoteStore let approval: ApprovalRequest - @State private var biometricPassed = false - @State private var authError: String? @State private var showAlwaysMenu = false - private var requiresBiometric: Bool { approval.risk.isHigh } - private var allowEnabled: Bool { - store.connectivity.isLive && (!requiresBiometric || biometricPassed) - } + private var allowEnabled: Bool { store.connectivity.isLive } var body: some View { VStack(alignment: .leading, spacing: 10) {