Files
simplex-chat/apps
Narasimha-sc 0aeecf84a1 ui: highlight the chat list filter button while this profile has unread
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 count the profile picker shows for the other profiles - 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.
2026-10-19 07:42:58 +00:00
..