fix: Reply on stories with empty string

This commit is contained in:
Christian Pauly 2022-02-16 07:19:05 +01:00
parent ec6f761539
commit 9cf105e68e

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(() {