debug: hide helper subtext while sending
parent
ee845376b5
commit
4e2fb38d62
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue