opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 13:07:15 +08:00
parent 6353ecc13e
commit 286193f08f
99 changed files with 204 additions and 270 deletions

View File

@@ -69,7 +69,7 @@ class DynamicsController extends GetxController
queryFollowUp();
}
Future<void> onSelectType(value) async {
void onSelectType(value) {
initialValue.value = value;
}
@@ -171,7 +171,7 @@ class DynamicsController extends GetxController
isQuerying = false;
}
Future<void> onSelectUp(mid) async {
void onSelectUp(mid) {
if (this.mid == mid) {
tabController.index = (mid == -1 ? 0 : 4);
if (mid == -1) {
@@ -192,7 +192,7 @@ class DynamicsController extends GetxController
}
@override
Future<void> animateToTop() async {
void animateToTop() {
controller?.animateToTop();
scrollController.animToTop();
}