mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	design: Remove redundant voice message button
This commit is contained in:
		
							parent
							
								
									81164316b5
								
							
						
					
					
						commit
						cb4af5a413
					
				@ -767,9 +767,6 @@ class ChatController extends State<Chat> {
 | 
			
		||||
    if (choice == 'sticker') {
 | 
			
		||||
      sendStickerAction();
 | 
			
		||||
    }
 | 
			
		||||
    if (choice == 'voice') {
 | 
			
		||||
      voiceMessageAction();
 | 
			
		||||
    }
 | 
			
		||||
    if (choice == 'location') {
 | 
			
		||||
      sendLocationAction();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -144,19 +144,6 @@ class ChatInputRow extends StatelessWidget {
 | 
			
		||||
                          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)
 | 
			
		||||
                      PopupMenuItem<String>(
 | 
			
		||||
                        value: 'location',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user