From eb6875a6623b7d885fdd07b4af7220fb05c54a9d Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Thu, 2 Jul 2026 19:20:54 -0700 Subject: [PATCH] Review Feature Access Nucleic-Session: 85A6233A-F3F6-44B2-AD0B-261D49EE9C35 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/SettingsView.swift | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/SettingsView.swift b/NucleicRemote/NucleicRemote/Views/SettingsView.swift index d5281f8..04bb3fa 100644 --- a/NucleicRemote/NucleicRemote/Views/SettingsView.swift +++ b/NucleicRemote/NucleicRemote/Views/SettingsView.swift @@ -14,6 +14,18 @@ struct SettingsView: View { var body: some View { NavigationStack { Form { + if store.demoMode { + Section { + Button(role: .destructive) { store.exitDemo() } label: { + Label("Leave demo", systemImage: "arrow.uturn.left") + } + } header: { + Text("Demo") + } footer: { + Text("You're exploring Nucleic with sample data and a simulated agent. Leave the demo to pair with your Mac.") + } + } + Section { Picker("Theme", selection: $appearanceRaw) { ForEach(AppAppearance.allCases) { appearance in