mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 10:06:23 +08:00
opt check dyn
Closes #996 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -737,10 +737,12 @@ class _CreateDynPanelState extends CommonRichTextPubPageState<CreateDynPanel> {
|
|||||||
SmartDialog.showToast('发布成功');
|
SmartDialog.showToast('发布成功');
|
||||||
var id = result['data']?['dyn_id'];
|
var id = result['data']?['dyn_id'];
|
||||||
RequestUtils.insertCreatedDyn(id);
|
RequestUtils.insertCreatedDyn(id);
|
||||||
RequestUtils.checkCreatedDyn(
|
if (_replyOption.value != ReplyOptionType.close) {
|
||||||
id: id,
|
RequestUtils.checkCreatedDyn(
|
||||||
dynText: editController.rawText,
|
id: id,
|
||||||
);
|
dynText: editController.rawText,
|
||||||
|
);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
SmartDialog.showToast(result['msg']);
|
SmartDialog.showToast(result['msg']);
|
||||||
if (kDebugMode) debugPrint('failed to publish: ${result['msg']}');
|
if (kDebugMode) debugPrint('failed to publish: ${result['msg']}');
|
||||||
|
|||||||
Reference in New Issue
Block a user