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,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() }