mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-26 03:54:15 +01:00
chore: Follow up draft fix
This commit is contained in:
parent
c9f4904d99
commit
835d97f439
@ -268,6 +268,7 @@ class ChatController extends State<Chat> {
|
|||||||
|
|
||||||
Future<void> send() async {
|
Future<void> send() async {
|
||||||
if (sendController.text.trim().isEmpty) return;
|
if (sendController.text.trim().isEmpty) return;
|
||||||
|
_storeInputTimeoutTimer?.cancel();
|
||||||
final prefs = await SharedPreferences.getInstance();
|
final prefs = await SharedPreferences.getInstance();
|
||||||
prefs.remove('draft_$roomId');
|
prefs.remove('draft_$roomId');
|
||||||
var parseCommands = true;
|
var parseCommands = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user