From e251eaf8117366f9102d7be0f81506f954c4c73f Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Tue, 12 Aug 2025 13:45:42 +0800 Subject: [PATCH] opt check dyn Closes #996 Signed-off-by: bggRGjQaUbCoE --- lib/pages/dynamics_create/view.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/pages/dynamics_create/view.dart b/lib/pages/dynamics_create/view.dart index c950667a..9dbc2465 100644 --- a/lib/pages/dynamics_create/view.dart +++ b/lib/pages/dynamics_create/view.dart @@ -737,10 +737,12 @@ class _CreateDynPanelState extends CommonRichTextPubPageState { SmartDialog.showToast('发布成功'); var id = result['data']?['dyn_id']; RequestUtils.insertCreatedDyn(id); - RequestUtils.checkCreatedDyn( - id: id, - dynText: editController.rawText, - ); + if (_replyOption.value != ReplyOptionType.close) { + RequestUtils.checkCreatedDyn( + id: id, + dynText: editController.rawText, + ); + } } else { SmartDialog.showToast(result['msg']); if (kDebugMode) debugPrint('failed to publish: ${result['msg']}');