fix: after login

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-24 13:39:56 +08:00
parent c23f15b195
commit 36ee59c7da
5 changed files with 13 additions and 13 deletions

View File

@@ -59,7 +59,7 @@ class HomeController extends GetxController with GetTickerProviderStateMixin {
}
// 更新登录状态
void updateLoginStatus(val) async {
Future updateLoginStatus(val) async {
userInfo = await userInfoCache.get('userInfoCache');
userLogin.value = val ?? false;
if (val) return;