From 7f26da795445feafd7b334d48bd658370a8e40ed Mon Sep 17 00:00:00 2001 From: JHubi1 Date: Mon, 3 Jun 2024 16:22:45 +0200 Subject: [PATCH] Added edit message to must have content --- lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/main.dart b/lib/main.dart index 0eff5c6..e01dcc2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1326,6 +1326,7 @@ class _MainAppState extends State { ? 10 : ((text.length >= 50) ? 5 : 3), ); + if (input == "") return; messages[index] = types.TextMessage( author: p1.author,