mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -292,9 +292,7 @@ class _ReplyPageState extends State<ReplyPage>
|
||||
_enablePublish = false;
|
||||
_publishStream.add(false);
|
||||
}
|
||||
if (widget.onSaveReply != null) {
|
||||
widget.onSaveReply!(value);
|
||||
}
|
||||
widget.onSaveReply?.call(value);
|
||||
},
|
||||
focusNode: _focusNode,
|
||||
decoration: const InputDecoration(
|
||||
@@ -537,8 +535,6 @@ class _ReplyPageState extends State<ReplyPage>
|
||||
selection:
|
||||
TextSelection.collapsed(offset: cursorPosition + emote.text!.length),
|
||||
);
|
||||
if (widget.onSaveReply != null) {
|
||||
widget.onSaveReply!(_replyContentController.text);
|
||||
}
|
||||
widget.onSaveReply?.call(_replyContentController.text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user