use correct fallback for icons
This commit is contained in:
parent
a7ccf0ff00
commit
561f6ecc84
1 changed files with 2 additions and 2 deletions
|
|
@ -62,8 +62,8 @@ class AvatarOrHash extends ConsumerWidget {
|
|||
),
|
||||
fit: .cover,
|
||||
loadingBuilder: (_, child, loadingProgress) =>
|
||||
loadingProgress == null ? child : box,
|
||||
errorBuilder: (_, _, _) => box,
|
||||
loadingProgress == null ? child : fallback ?? box,
|
||||
errorBuilder: (_, _, _) => fallback ?? box,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue