fix: Giphy corrections

This commit is contained in:
Deven Joshi
2020-10-19 13:18:34 +05:30
parent 830076e2bd
commit de03dfd21d
+2 -1
View File
@@ -941,7 +941,7 @@ class MessageInputState extends State<MessageInput> {
} }
if(_giphyEnabled) { if(_giphyEnabled) {
text = '/giphy' + text; text = '/giphy ' + text;
} }
final attachments = List<_SendingAttachment>.from(_attachments); final attachments = List<_SendingAttachment>.from(_attachments);
@@ -952,6 +952,7 @@ class MessageInputState extends State<MessageInput> {
setState(() { setState(() {
_messageIsPresent = false; _messageIsPresent = false;
_typingStarted = false; _typingStarted = false;
_giphyEnabled = false;
}); });
_commandsOverlay?.remove(); _commandsOverlay?.remove();