Commit bceab1f
committed
avatar: Show placeholder on image load error.
Previously, if an avatar image URL was invalid or failed to
load, the UI would show a broken image icon.
This commit improves the user experience by displaying a
consistent `_AvatarPlaceholder` widget in all error cases,
including network errors, invalid URLs that resolve to null,
and null user objects.
Fixes: #1558.1 parent 1699aa5 commit bceab1f
File tree
10 files changed
+1318
-35
lines changed- .vscode
- android/build/reports/problems
- lib/widgets
- test
- widgets
10 files changed
+1318
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 3 | | |
11 | 4 | | |
12 | | - | |
| 5 | + | |
13 | 6 | | |
14 | | - | |
15 | | - | |
16 | 7 | | |
17 | | - | |
18 | | - | |
19 | 8 | | |
20 | | - | |
21 | | - | |
22 | 9 | | |
23 | | - | |
| 10 | + | |
| 11 | + | |
0 commit comments