chore: move relay status below toggles

This commit is contained in:
Peter Steinberger
2025-12-06 23:44:20 +01:00
parent 58d0f3053d
commit 7daef74fc6

View File

@@ -636,13 +636,12 @@ private struct MenuContent: View {
var body: some View { var body: some View {
VStack(alignment: .leading, spacing: 8) { VStack(alignment: .leading, spacing: 8) {
self.relayStatusRow
Toggle(isOn: self.activeBinding) { Text("Clawdis Active") } Toggle(isOn: self.activeBinding) { Text("Clawdis Active") }
}
Toggle(isOn: self.$state.swabbleEnabled) { Text("Voice Wake") } Toggle(isOn: self.$state.swabbleEnabled) { Text("Voice Wake") }
.disabled(!voiceWakeSupported) .disabled(!voiceWakeSupported)
.opacity(voiceWakeSupported ? 1 : 0.5) .opacity(voiceWakeSupported ? 1 : 0.5)
Button("Open Chat") { WebChatManager.shared.show(sessionKey: self.primarySessionKey()) } Button("Open Chat") { WebChatManager.shared.show(sessionKey: self.primarySessionKey()) }
self.relayStatusRow
Divider() Divider()
Button("Settings…") { self.open(tab: .general) } Button("Settings…") { self.open(tab: .general) }
.keyboardShortcut(",", modifiers: [.command]) .keyboardShortcut(",", modifiers: [.command])
@@ -650,6 +649,7 @@ private struct MenuContent: View {
Divider() Divider()
Button("Quit") { NSApplication.shared.terminate(nil) } Button("Quit") { NSApplication.shared.terminate(nil) }
} }
}
private func open(tab: SettingsTab) { private func open(tab: SettingsTab) {
SettingsTabRouter.request(tab) SettingsTabRouter.request(tab)