mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 19:18:43 +00:00
feat: manual check dyn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -386,10 +386,11 @@ class _RepostPanelState extends CommonPublishPageState<RepostPanel> {
|
||||
Get.back();
|
||||
SmartDialog.showToast('转发成功');
|
||||
widget.callback?.call();
|
||||
Future.wait([
|
||||
Utils.insertCreatedDyn(result),
|
||||
Utils.checkCreatedDyn(result, editController.text)
|
||||
]);
|
||||
Utils.insertCreatedDyn(result);
|
||||
Utils.checkCreatedDyn(
|
||||
id: result['data']?['dyn_id'],
|
||||
dynText: editController.text,
|
||||
);
|
||||
} else {
|
||||
SmartDialog.showToast(result['msg']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user