mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
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 {
|
||||
message ??= replyController.text;
|
||||
if (message.isEmpty) return;
|
||||
final currentEvent = this.currentEvent;
|
||||
if (currentEvent == null) return;
|
||||
setState(() {
|
||||
|
|
Loading…
Reference in a new issue