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