Commit 7cb05b8
committed
fix(conversations): don't show the fallback avatar while loading
Scrolling the conversation list flashed the generic fallback avatar on
rows entering the viewport for the first time in a session: the lazy
list disposes off-screen rows, and re-entering rows without a memory
cache entry showed the fallback as a de-facto loading indicator until
the disk read or fetch completed.
Render nothing while an avatar loads (the slot keeps its size and the
avatar crossfades in), keep the last shown avatar as the placeholder
when one is known, and reserve the fallback icon for what its name
says: a failed load with no previously shown avatar.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>1 parent 6934136 commit 7cb05b8
1 file changed
Lines changed: 2 additions & 3 deletions
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
279 | | - | |
| 277 | + | |
| 278 | + | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
0 commit comments