debug: hide helper subtext while sending

This commit is contained in:
Peter Steinberger
2025-12-07 15:47:30 +01:00
parent ee845376b5
commit 4e2fb38d62

View File

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