debug: hide helper subtext while sending

main
Peter Steinberger 2025-12-07 15:47:30 +01:00
parent ee845376b5
commit 4e2fb38d62
1 changed files with 14 additions and 12 deletions

View File

@ -143,18 +143,20 @@ struct DebugSettings: View {
.buttonStyle(.borderedProminent)
.disabled(self.debugSendInFlight)
if let debugSendStatus {
Text(debugSendStatus)
.font(.caption)
.foregroundStyle(.secondary)
} else if let debugSendError {
Text(debugSendError)
.font(.caption)
.foregroundStyle(.red)
} else {
Text("Uses the Voice Wake path: forwards over SSH when configured, otherwise runs locally via rpc.")
.font(.caption)
.foregroundStyle(.secondary)
if !self.debugSendInFlight {
if let debugSendStatus {
Text(debugSendStatus)
.font(.caption)
.foregroundStyle(.secondary)
} else if let debugSendError {
Text(debugSendError)
.font(.caption)
.foregroundStyle(.red)
} else {
Text("Uses the Voice Wake path: forwards over SSH when configured, otherwise runs locally via rpc.")
.font(.caption)
.foregroundStyle(.secondary)
}
}
}
HStack {