chore: Follow up draft fix
This commit is contained in:
parent
5cf18aabbf
commit
85f4a539d8
1 changed files with 1 additions and 0 deletions
|
|
@ -268,6 +268,7 @@ class ChatController extends State<Chat> {
|
|||
|
||||
Future<void> send() async {
|
||||
if (sendController.text.trim().isEmpty) return;
|
||||
_storeInputTimeoutTimer?.cancel();
|
||||
final prefs = await SharedPreferences.getInstance();
|
||||
prefs.remove('draft_$roomId');
|
||||
var parseCommands = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue