|
|
@ -626,20 +626,24 @@ class ChatView extends StatelessWidget {
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
PopupMenuItem<String>(
|
|
|
|
if (controller.room
|
|
|
|
value: 'sticker',
|
|
|
|
.getImagePacks(
|
|
|
|
child: ListTile(
|
|
|
|
ImagePackUsage.sticker)
|
|
|
|
leading: CircleAvatar(
|
|
|
|
.isNotEmpty)
|
|
|
|
backgroundColor: Colors.orange,
|
|
|
|
PopupMenuItem<String>(
|
|
|
|
foregroundColor: Colors.white,
|
|
|
|
value: 'sticker',
|
|
|
|
child: Icon(Icons
|
|
|
|
child: ListTile(
|
|
|
|
.emoji_emotions_outlined),
|
|
|
|
leading: CircleAvatar(
|
|
|
|
|
|
|
|
backgroundColor: Colors.orange,
|
|
|
|
|
|
|
|
foregroundColor: Colors.white,
|
|
|
|
|
|
|
|
child: Icon(Icons
|
|
|
|
|
|
|
|
.emoji_emotions_outlined),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
title: Text(
|
|
|
|
|
|
|
|
L10n.of(context).sendSticker),
|
|
|
|
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
title: Text(
|
|
|
|
|
|
|
|
L10n.of(context).sendSticker),
|
|
|
|
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
if (PlatformInfos.isMobile)
|
|
|
|
if (PlatformInfos.isMobile)
|
|
|
|
PopupMenuItem<String>(
|
|
|
|
PopupMenuItem<String>(
|
|
|
|
value: 'voice',
|
|
|
|
value: 'voice',
|
|
|
|