debug: hide helper subtext while sending
parent
ee845376b5
commit
4e2fb38d62
|
|
@ -143,6 +143,7 @@ struct DebugSettings: View {
|
||||||
.buttonStyle(.borderedProminent)
|
.buttonStyle(.borderedProminent)
|
||||||
.disabled(self.debugSendInFlight)
|
.disabled(self.debugSendInFlight)
|
||||||
|
|
||||||
|
if !self.debugSendInFlight {
|
||||||
if let debugSendStatus {
|
if let debugSendStatus {
|
||||||
Text(debugSendStatus)
|
Text(debugSendStatus)
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
|
|
@ -157,6 +158,7 @@ struct DebugSettings: View {
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
HStack {
|
HStack {
|
||||||
Button("Restart app") { self.relaunch() }
|
Button("Restart app") { self.relaunch() }
|
||||||
Button("Reveal app in Finder") { self.revealApp() }
|
Button("Reveal app in Finder") { self.revealApp() }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue