From 80c0ca69fa60c34bcae2127aa941500f2e739827 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 29 Jul 2026 11:55:47 +0200 Subject: [PATCH] fix(client/apple): take the accent wash off the scope menu too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same cause as the host grid's sort menu: a Menu draws its label — and the icons of everything inside it — in the accent colour, so a control whose only meaningful colour is the profile chips came out purple throughout. The chips are unaffected because they are rendered bitmaps rather than tinted symbols (see MenuIcon), so the colour that means something keeps it and the decoration loses its. The red trash stays red for the same reason. macOS only, as before — iOS menus already draw their icons in the label colour. Co-Authored-By: Claude Opus 5 (1M context) --- .../PunktfunkClient/Settings/SettingsView+Scope.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clients/apple/Sources/PunktfunkClient/Settings/SettingsView+Scope.swift b/clients/apple/Sources/PunktfunkClient/Settings/SettingsView+Scope.swift index 61950dce..f259426e 100644 --- a/clients/apple/Sources/PunktfunkClient/Settings/SettingsView+Scope.swift +++ b/clients/apple/Sources/PunktfunkClient/Settings/SettingsView+Scope.swift @@ -395,6 +395,12 @@ extension SettingsView { } .menuStyle(.button) .fixedSize() + // Same reason as the host grid's sort menu: a Menu draws its label — and the + // icons of everything inside it — in the ACCENT colour, which put a purple wash + // over a control whose only meaningful colour is the profile chips. Those are + // rendered bitmaps (see MenuIcon), so they keep their colour; the decoration + // loses its. macOS only — iOS menus already draw their icons in the label colour. + .tint(.primary) Text(scopeCaption) .font(.geist(12, relativeTo: .caption)) .foregroundStyle(.secondary)