🐛 Fix send empty message

This commit is contained in:
2025-02-15 18:12:35 +08:00
parent 42ac12b53e
commit c91cf7c813
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,7 @@ class ChatMessageInputState extends State<ChatMessageInput> {
}
Future<void> _sendMessage() async {
if (_contentController.text.isEmpty && _attachments.isEmpty) return;
if (_isBusy) return;
final attach = context.read<SnAttachmentProvider>();