chore: code clean up

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-10 09:49:06 +08:00
parent 03d405e197
commit 59910e275e
133 changed files with 597 additions and 816 deletions

View File

@@ -73,7 +73,7 @@ class MemberController extends GetxController {
wwebid = jsonDecode(
Uri.decodeComponent(scriptElement?.text ?? ''))['access_id'];
} catch (e) {
print('failed to get wwebid: $e');
debugPrint('failed to get wwebid: $e');
}
}
@@ -109,7 +109,7 @@ class MemberController extends GetxController {
SmartDialog.showToast('账号未登录');
return;
}
if (memberInfo.value == null) {
if (memberInfo.value.mid == null) {
SmartDialog.showToast('尚未获取到用户信息');
return;
}