mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 17:58:47 +00:00
The unread filter button looked identical whether or not there was anything to filter for, so nothing suggested that switching it on would show something. Tint it with the accent colour while the current profile's unread count is above zero - the same per-profile count the profile picker shows - and give it the pill the active state already draws, as a 12% accent fill behind a 40% accent hairline ring. The three states then read as one progression: grey strokes, accent strokes on a faint pill, solid accent pill when the filter is on. Tinting alone was too easy to miss on 16sp strokes, and adding the pill outline gives the change a shape rather than only a hue. On iOS the ring comes from the SF Symbol variants, so the button steps through line.3.horizontal.decrease, .circle and .circle.fill.