mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 17:35:18 +00:00
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,
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: ContentBanner(widget.room.avatar,
|
||||
onEdit: widget.room.canSendEvent('m.room.avatar') &&
|
||||
!kIsWeb
|
||||
onEdit: widget.room.canSendEvent('m.room.avatar')
|
||||
? () => setAvatarAction(context)
|
||||
: null),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue