Skip to content

Keep unread rows from showing a faded icon - #33

Merged
bardesss merged 1 commit into
mainfrom
favicon-fade
Nov 3, 2026
Merged

bardesss merged 1 commit into
mainfrom
favicon-fade

Conversation

@bardesss

@bardesss bardesss commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Some unread rows showed their feed icon dim but still in colour: the 30% opacity of a read row without its grey. The fade was an alpha layer added and dropped with the read state, and on a Pixel it stayed behind on some rows after they were reused.

The icon now fades through a single colour filter that greys it and lowers its alpha together, and the letter tile fades through its colours, so there is no layer to leave behind.

The stuck layer did not reproduce under Robolectric, so the new FaviconFadeTest covers the expected states (read row grey, unread rows full colour after a read row turns unread, after a view switch and after scrolling past read rows) rather than the device glitch itself. Needs a check on the phone. 262 tests pass, lint clean.

Some unread rows showed their feed icon dim but in colour, the see-through part of the read look without the grey. The fade was a separate alpha layer that came and went with the read state, and on a device it stayed behind on some rows. The icon now fades through one colour filter that greys it and makes it see-through together, and the letter tile fades through its colours, so no layer is added or dropped.
@bardesss
bardesss merged commit eaa752a into main Nov 3, 2026
1 check passed
@bardesss
bardesss deleted the favicon-fade branch November 3, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant