opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 14:41:25 +08:00
parent 286193f08f
commit dd6ff101d1
63 changed files with 181 additions and 180 deletions

View File

@@ -73,7 +73,7 @@ class DynamicsController extends GetxController
initialValue.value = value;
}
Future queryFollowing2() async {
Future<void> queryFollowing2() async {
if (upData.value.upList != null &&
upData.value.upList!.length >= allFollowedUpsTotal) {
return;
@@ -108,7 +108,7 @@ class DynamicsController extends GetxController
}
late bool isQuerying = false;
Future queryFollowUp({type = 'init'}) async {
Future<void> queryFollowUp({type = 'init'}) async {
if (isQuerying) return;
isQuerying = true;
if (!isLogin.value) {