From 7cb01bce078dbfd9ea8a39a1b13b590c8267abc5 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 16 Feb 2022 07:19:05 +0100 Subject: [PATCH] fix: Reply on stories with empty string --- lib/pages/story/story_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/story/story_page.dart b/lib/pages/story/story_page.dart index 192664e2..4955e38d 100644 --- a/lib/pages/story/story_page.dart +++ b/lib/pages/story/story_page.dart @@ -67,6 +67,7 @@ class StoryPageController extends State { void replyAction([String? message]) async { message ??= replyController.text; + if (message.isEmpty) return; final currentEvent = this.currentEvent; if (currentEvent == null) return; setState(() {