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