conditionally show room avatar in header

This commit is contained in:
Henry Hiles 2025-11-14 17:27:43 -05:00
commit f0a397f576
No known key found for this signature in database
7 changed files with 110 additions and 95 deletions

View file

@ -26,6 +26,7 @@ class AvatarOrHash extends StatelessWidget {
borderRadius: BorderRadius.all(Radius.circular(4)),
child: SizedBox(
height: height,
width: height,
child: avatar == null
? fallback ?? box
: Image.network(