show hashed colors while avatar loading

This commit is contained in:
Henry Hiles 2026-05-26 09:38:29 -04:00
commit ed0292468a
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -61,6 +61,8 @@ class AvatarOrHash extends ConsumerWidget {
headers: ref.headers,
),
fit: BoxFit.cover,
loadingBuilder: (_, child, loadingProgress) =>
loadingProgress == null ? child : box,
errorBuilder: (_, _, _) => box,
),
),