mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +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,
|
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…
Reference in New Issue
Block a user