fix: Hide stickers button when there is not sticker pack

This commit is contained in:
Christian Pauly 2021-07-24 10:52:54 +02:00
commit e8fcc7abc2

View file

@ -626,6 +626,10 @@ class ChatView extends StatelessWidget {
contentPadding: EdgeInsets.all(0),
),
),
if (controller.room
.getImagePacks(
ImagePackUsage.sticker)
.isNotEmpty)
PopupMenuItem<String>(
value: 'sticker',
child: ListTile(