mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 15:46:14 +08:00
fix rm top dyn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -61,15 +61,6 @@ class DynamicsTabController
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> onSetTop(bool isTop, dynamic dynamicId) async {
|
||||
var res = await DynamicsHttp.setTop(dynamicId: dynamicId);
|
||||
if (res['status']) {
|
||||
SmartDialog.showToast('${isTop ? '取消' : ''}置顶成功');
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> onReload() {
|
||||
scrollController.jumpToTop();
|
||||
|
||||
Reference in New Issue
Block a user