fix: Keyboard now closes when a command is enabled

This commit is contained in:
Deven Joshi
2021-02-25 12:21:46 +05:30
parent 0e89971b35
commit 3f139d2eb6
@@ -2008,6 +2008,7 @@ class MessageInputState extends State<MessageInput> {
if (_commandEnabled) {
text = '/${_chosenCommand.name} ' + text;
FocusScope.of(context).unfocus();
}
final attachments = [..._attachments.values];