mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -14,7 +14,7 @@ class MemberDynamicsController
|
||||
String offset = '';
|
||||
|
||||
@override
|
||||
void onInit() async {
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
queryData();
|
||||
}
|
||||
@@ -79,8 +79,9 @@ class MemberDynamicsController
|
||||
} else {
|
||||
final item = list.firstWhere((item) => item.idStr == dynamicId);
|
||||
item.modules.moduleTag = ModuleTag(text: '置顶');
|
||||
list.remove(item);
|
||||
list.insert(0, item);
|
||||
list
|
||||
..remove(item)
|
||||
..insert(0, item);
|
||||
loadingState.refresh();
|
||||
SmartDialog.showToast('置顶成功');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user