From d8252bb777eefba8ecaa2c78dc6cc23b1e2fffda Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 29 Jul 2026 11:50:19 +0200 Subject: [PATCH] fix(client/apple): the sort menu was brand-purple beside two plain toolbar buttons A Menu draws its label in the ACCENT colour where a Button draws it in the label colour, so this one came out tinted next to Add Host and Settings. macOS only: on iOS every toolbar item is accent-tinted already, and pinning this one to primary would make it the odd one out there instead of in step. Co-Authored-By: Claude Opus 5 (1M context) --- clients/apple/Sources/PunktfunkClient/Home/HomeView.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/clients/apple/Sources/PunktfunkClient/Home/HomeView.swift b/clients/apple/Sources/PunktfunkClient/Home/HomeView.swift index 9605d6d2..f0f68331 100644 --- a/clients/apple/Sources/PunktfunkClient/Home/HomeView.swift +++ b/clients/apple/Sources/PunktfunkClient/Home/HomeView.swift @@ -370,6 +370,13 @@ struct HomeView: View { } label: { Label("Sort and Group", systemImage: "line.3.horizontal.decrease.circle") } + #if os(macOS) + // A Menu draws its label in the ACCENT colour where a Button draws it in the label + // colour, so next to Add Host and Settings this one came out brand-purple. macOS only: + // on iOS every toolbar item is accent-tinted, and pinning this one to primary would make + // it the odd one out there instead. + .tint(.primary) + #endif } #endif