fix: fixed slow mode
This commit is contained in:
@@ -1538,7 +1538,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
/// Sends the current message
|
/// Sends the current message
|
||||||
Future<void> sendMessage() async {
|
Future<void> sendMessage() async {
|
||||||
var text = messageInputController.text.trim();
|
var text = messageInputController.text.trim();
|
||||||
var attachments = messageInputController.attachments;
|
final attachments = messageInputController.attachments;
|
||||||
|
|
||||||
if (text.isEmpty && attachments.isEmpty) {
|
if (text.isEmpty && attachments.isEmpty) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user