From f6f69b408f8b4aa5d1f74f6dfd18eca28d1ae491 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 14 Dec 2025 04:00:34 +0000 Subject: [PATCH] ui(macos): remove duplicate canvas toggle --- apps/macos/Sources/Clawdis/DebugSettings.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/macos/Sources/Clawdis/DebugSettings.swift b/apps/macos/Sources/Clawdis/DebugSettings.swift index 6b79e24b7..050850c38 100644 --- a/apps/macos/Sources/Clawdis/DebugSettings.swift +++ b/apps/macos/Sources/Clawdis/DebugSettings.swift @@ -8,7 +8,6 @@ struct DebugSettings: View { @AppStorage(modelCatalogPathKey) private var modelCatalogPath: String = ModelCatalogLoader.defaultPath @AppStorage(modelCatalogReloadKey) private var modelCatalogReloadBump: Int = 0 @AppStorage(iconOverrideKey) private var iconOverrideRaw: String = IconOverrideSelection.system.rawValue - @AppStorage(canvasEnabledKey) private var canvasEnabled: Bool = true @AppStorage(deepLinkAgentEnabledKey) private var deepLinkAgentEnabled: Bool = false @State private var modelsCount: Int? @State private var modelsLoading = false @@ -484,11 +483,9 @@ struct DebugSettings: View { private var canvasSection: some View { GroupBox("Canvas") { VStack(alignment: .leading, spacing: 10) { - Toggle("Allow Canvas (agent)", isOn: self.$canvasEnabled) - .toggleStyle(.checkbox) - .help( - "When off, agent Canvas requests return “Canvas disabled by user”. " + - "Manual debug actions still work.") + Text("Enable/disable Canvas in General settings.") + .font(.caption) + .foregroundStyle(.secondary) HStack(spacing: 8) { TextField("Session", text: self.$canvasSessionKey)