diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index dfb50773..2620dddf 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -767,9 +767,6 @@ class ChatController extends State { if (choice == 'sticker') { sendStickerAction(); } - if (choice == 'voice') { - voiceMessageAction(); - } if (choice == 'location') { sendLocationAction(); } diff --git a/lib/pages/chat/chat_input_row.dart b/lib/pages/chat/chat_input_row.dart index 45af040d..deadcfb9 100644 --- a/lib/pages/chat/chat_input_row.dart +++ b/lib/pages/chat/chat_input_row.dart @@ -144,19 +144,6 @@ class ChatInputRow extends StatelessWidget { contentPadding: const EdgeInsets.all(0), ), ), - if (PlatformInfos.isMobile) - PopupMenuItem( - value: 'voice', - child: ListTile( - leading: const CircleAvatar( - backgroundColor: Colors.red, - foregroundColor: Colors.white, - child: Icon(Icons.mic_none_outlined), - ), - title: Text(L10n.of(context).voiceMessage), - contentPadding: const EdgeInsets.all(0), - ), - ), if (PlatformInfos.isMobile) PopupMenuItem( value: 'location',