Merge pull request #1193 from GetStream/hotfix/commands

fix(ui): Fix commands resetting the `StreamMessageInputController.value`
This commit is contained in:
Salvatore Giordano
2022-06-08 15:47:39 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -3,6 +3,7 @@
🐞 Fixed
-[[#1180]](https://github.com/GetStream/stream-chat-flutter/issues/1180) Fix file download
- Fix commands resetting the `StreamMessageInputController.value`
## 4.2.0
@@ -1221,7 +1221,7 @@ class StreamMessageInputState extends State<StreamMessageInput>
void _setCommand(Command c) {
_effectiveController
..clear()
..reset()
..command = c;
setState(() {
_showCommandsOverlay = false;