conditionally show room avatar in header
This commit is contained in:
parent
d272c20e19
commit
f0a397f576
7 changed files with 110 additions and 95 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue