Added edit message to must have content
This commit is contained in:
parent
5a98f3eb7a
commit
7f26da7954
|
@ -1326,6 +1326,7 @@ class _MainAppState extends State<MainApp> {
|
||||||
? 10
|
? 10
|
||||||
: ((text.length >= 50) ? 5 : 3),
|
: ((text.length >= 50) ? 5 : 3),
|
||||||
);
|
);
|
||||||
|
if (input == "") return;
|
||||||
|
|
||||||
messages[index] = types.TextMessage(
|
messages[index] = types.TextMessage(
|
||||||
author: p1.author,
|
author: p1.author,
|
||||||
|
|
Loading…
Reference in New Issue