fix: Set chat avatar on web
This commit is contained in:
parent
d5fe9a257a
commit
ec7a5a0684
1 changed files with 1 additions and 2 deletions
|
|
@ -218,8 +218,7 @@ class _ChatDetailsState extends State<ChatDetails> {
|
||||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||||
flexibleSpace: FlexibleSpaceBar(
|
flexibleSpace: FlexibleSpaceBar(
|
||||||
background: ContentBanner(widget.room.avatar,
|
background: ContentBanner(widget.room.avatar,
|
||||||
onEdit: widget.room.canSendEvent('m.room.avatar') &&
|
onEdit: widget.room.canSendEvent('m.room.avatar')
|
||||||
!kIsWeb
|
|
||||||
? () => setAvatarAction(context)
|
? () => setAvatarAction(context)
|
||||||
: null),
|
: null),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue