🐛 Bug fixes

This commit is contained in:
LittleSheep 2025-02-10 18:00:15 +08:00
parent df81c84438
commit f0a3bbe023

View File

@ -203,6 +203,7 @@ class ChatMessageInputState extends State<ChatMessageInput> {
void dispose() {
_contentController.dispose();
_focusNode.dispose();
_dismissEmojiPicker();
if (!kIsWeb && !(Platform.isAndroid || Platform.isIOS)) hotKeyManager.unregister(_pasteHotKey);
super.dispose();
}