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) <noreply@anthropic.com>
This commit is contained in:
2026-07-29 12:06:41 +02:00
co-authored by Claude Opus 5
parent 2e7b4aea79
commit d8252bb777
@@ -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