mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
Merge branch 'voice-msg-button' into 'main'
Remove redundant voice message button See merge request famedly/fluffychat!627
This commit is contained in:
commit
72fa85831a
@ -767,9 +767,6 @@ class ChatController extends State<Chat> {
|
|||||||
if (choice == 'sticker') {
|
if (choice == 'sticker') {
|
||||||
sendStickerAction();
|
sendStickerAction();
|
||||||
}
|
}
|
||||||
if (choice == 'voice') {
|
|
||||||
voiceMessageAction();
|
|
||||||
}
|
|
||||||
if (choice == 'location') {
|
if (choice == 'location') {
|
||||||
sendLocationAction();
|
sendLocationAction();
|
||||||
}
|
}
|
||||||
|
@ -144,19 +144,6 @@ class ChatInputRow extends StatelessWidget {
|
|||||||
contentPadding: const EdgeInsets.all(0),
|
contentPadding: const EdgeInsets.all(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (PlatformInfos.isMobile)
|
|
||||||
PopupMenuItem<String>(
|
|
||||||
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)
|
if (PlatformInfos.isMobile)
|
||||||
PopupMenuItem<String>(
|
PopupMenuItem<String>(
|
||||||
value: 'location',
|
value: 'location',
|
||||||
|
Loading…
Reference in New Issue
Block a user