Commit 1a37418
committed
avatar: Show placeholder on image load error.
Previously, if an avatar image failed to load from its URL, the space for the avatar would simply be empty. This could be confusing for the user.
This change adds an errorBuilder to the RealmContentNetworkImage widget. Now, in case of a network error or an invalid URL, a standard placeholder with a person icon is displayed. This provides a better and more consistent user experience.
Fixes #1558.1 parent de03f4b commit 1a37418
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments