fix: Hide stickers button when there is not sticker pack
This commit is contained in:
parent
197736444f
commit
e8fcc7abc2
1 changed files with 16 additions and 12 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue