mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 22:42:33 +01:00
fix: Set chat avatar on web
This commit is contained in:
parent
da5bc56299
commit
621fcb77a9
@ -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 New Issue
Block a user