fix: Reply on stories with empty string
This commit is contained in:
parent
ec6f761539
commit
9cf105e68e
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class StoryPageController extends State<StoryPage> {
|
||||||
|
|
||||||
void replyAction([String? message]) async {
|
void replyAction([String? message]) async {
|
||||||
message ??= replyController.text;
|
message ??= replyController.text;
|
||||||
|
if (message.isEmpty) return;
|
||||||
final currentEvent = this.currentEvent;
|
final currentEvent = this.currentEvent;
|
||||||
if (currentEvent == null) return;
|
if (currentEvent == null) return;
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue