mod: userInfo data type

This commit is contained in:
guozhigq
2024-11-17 22:18:53 +08:00
parent 570a073963
commit 1252b609a9
22 changed files with 60 additions and 47 deletions

View File

@ -148,7 +148,7 @@ class _BangumiInfoState extends State<BangumiInfo> {
// 收藏
showFavBottomSheet() async {
if (bangumiIntroController.userInfo.mid == null) {
if (bangumiIntroController.userInfo?.mid == null) {
SmartDialog.showToast('账号未登录');
return;
}