chore: flutter format

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-10-01 16:45:18 +05:30
committed by xsahil03x
parent bf21f7b350
commit 32d8b5573c
@@ -1198,14 +1198,14 @@ class MessageInputState extends State<MessageInput> {
textEditingController.value = TextEditingValue( textEditingController.value = TextEditingValue(
text: rejoin + text: rejoin +
textEditingController.text textEditingController.text.substring(
.substring(textEditingController.selection.start, textEditingController.selection.start,
), ),
selection: TextSelection.collapsed( selection: TextSelection.collapsed(
offset: rejoin.length, offset: rejoin.length,
), ),
); );
_onChangedDebounced.cancel(); _onChangedDebounced.cancel();
setState(() => _showMentionsOverlay = false); setState(() => _showMentionsOverlay = false);
}, },
); );