mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	fix: Android input after sending message
This commit is contained in:
		
							parent
							
								
									6c876ab2ac
								
							
						
					
					
						commit
						4488520f06
					
				@ -202,7 +202,10 @@ class ChatController extends State<Chat> {
 | 
			
		||||
    if (sendController.text.trim().isEmpty) return;
 | 
			
		||||
    room.sendTextEvent(sendController.text,
 | 
			
		||||
        inReplyTo: replyEvent, editEventId: editEvent?.eventId);
 | 
			
		||||
    sendController.text = pendingText;
 | 
			
		||||
    sendController.value = TextEditingValue(
 | 
			
		||||
      text: pendingText,
 | 
			
		||||
      selection: TextSelection.collapsed(offset: 0),
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    setState(() {
 | 
			
		||||
      inputText = pendingText;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user