mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-02 16:14:21 +01:00
fix: Hide stickers button when there is not sticker pack
This commit is contained in:
parent
a8201c4358
commit
b71dd4bc08
@ -626,6 +626,10 @@ class ChatView extends StatelessWidget {
|
|||||||
contentPadding: EdgeInsets.all(0),
|
contentPadding: EdgeInsets.all(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (controller.room
|
||||||
|
.getImagePacks(
|
||||||
|
ImagePackUsage.sticker)
|
||||||
|
.isNotEmpty)
|
||||||
PopupMenuItem<String>(
|
PopupMenuItem<String>(
|
||||||
value: 'sticker',
|
value: 'sticker',
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
|
Loading…
Reference in New Issue
Block a user