Merge pull request #1193 from GetStream/hotfix/commands
fix(ui): Fix commands resetting the `StreamMessageInputController.value`
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user