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:
@@ -62,7 +62,7 @@ class DynamicsController extends GetxController
|
||||
queryFollowUp();
|
||||
}
|
||||
|
||||
onSelectType(value) async {
|
||||
Future<void> onSelectType(value) async {
|
||||
initialValue.value = value;
|
||||
}
|
||||
|
||||
@@ -164,9 +164,12 @@ class DynamicsController extends GetxController
|
||||
isQuerying = false;
|
||||
}
|
||||
|
||||
onSelectUp(mid) async {
|
||||
Future<void> onSelectUp(mid) async {
|
||||
if (this.mid == mid) {
|
||||
tabController.index = (mid == -1 ? 0 : 4);
|
||||
if (mid == -1) {
|
||||
queryFollowUp();
|
||||
}
|
||||
controller.onReload();
|
||||
return;
|
||||
}
|
||||
@@ -176,13 +179,13 @@ class DynamicsController extends GetxController
|
||||
}
|
||||
|
||||
@override
|
||||
onRefresh() async {
|
||||
Future<void> onRefresh() async {
|
||||
queryFollowUp();
|
||||
await controller.onRefresh();
|
||||
}
|
||||
|
||||
@override
|
||||
void animateToTop() async {
|
||||
Future<void> animateToTop() async {
|
||||
controller.animateToTop();
|
||||
scrollController.animToTop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user