fix: Reply on stories with empty string

This commit is contained in:
Christian Pauly 2022-02-16 07:19:05 +01:00
parent 24ea7daccf
commit 7cb01bce07
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class StoryPageController extends State<StoryPage> {
void replyAction([String? message]) async {
message ??= replyController.text;
if (message.isEmpty) return;
final currentEvent = this.currentEvent;
if (currentEvent == null) return;
setState(() {