This commit is contained in:
Max Goedjen
2025-09-01 20:28:47 -07:00
parent c352ed4cc9
commit f6f5e98302
5 changed files with 97 additions and 68 deletions

View File

@@ -80,11 +80,6 @@ struct Secretive: App {
NSWorkspace.shared.open(Constants.helpURL)
}
}
CommandGroup(after: .help) {
Button("Setup") {
showingSetup = true
}
}
SidebarCommands()
}
}

View File

@@ -127,7 +127,7 @@ struct AgentNotRunningView: View {
}
}
}
.primaryButton()
// .primaryButton()
} else {
Text(.agentDetailsCouldNotStartError)
.bold()
@@ -144,11 +144,11 @@ struct AgentNotRunningView: View {
}
#Preview {
AgentStatusView()
.environment(\.agentStatusChecker, PreviewAgentStatusChecker(running: false))
}
#Preview {
AgentStatusView()
.environment(\.agentStatusChecker, PreviewAgentStatusChecker(running: true, process: .current))
}
//#Preview {
// AgentStatusView()
// .environment(\.agentStatusChecker, PreviewAgentStatusChecker(running: false))
//}
//#Preview {
// AgentStatusView()
// .environment(\.agentStatusChecker, PreviewAgentStatusChecker(running: true, process: .current))
//}