mac: tidy menu and gateway support

This commit is contained in:
Peter Steinberger
2025-12-10 01:00:53 +00:00
parent 5ed1d4e178
commit 70fb4d452e
18 changed files with 198 additions and 98 deletions

View File

@@ -94,7 +94,7 @@ struct DebugSettings: View {
.font(.caption2)
.foregroundStyle(.secondary)
}
if self.portReports.isEmpty && !self.portCheckInFlight {
if self.portReports.isEmpty, !self.portCheckInFlight {
Text("Check which process owns 18788/18789 and suggest fixes.")
.font(.caption2)
.foregroundStyle(.secondary)
@@ -281,8 +281,7 @@ struct DebugSettings: View {
primaryButton: .destructive(Text("Kill")) {
Task { await self.killConfirmed(listener.pid) }
},
secondaryButton: .cancel()
)
secondaryButton: .cancel())
}
}