debug: hide helper subtext while sending
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user