mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
common dyn page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -341,7 +341,7 @@ class RequestUtils {
|
||||
// 动态点赞
|
||||
static Future<void> onLikeDynamic(
|
||||
DynamicItemModel item,
|
||||
VoidCallback callback,
|
||||
VoidCallback onSuccess,
|
||||
) async {
|
||||
feedBack();
|
||||
String dynamicId = item.idStr!;
|
||||
@@ -362,7 +362,7 @@ class RequestUtils {
|
||||
?..count = count - 1
|
||||
..status = false;
|
||||
}
|
||||
callback();
|
||||
onSuccess();
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user