fix: 修复个人空间加载完成前退出登录导致的崩溃

This commit is contained in:
to_mo_to
2024-10-14 23:19:01 +08:00
committed by GitHub
parent 19f64f524e
commit 14039f41a4

View File

@@ -684,6 +684,7 @@ public class ViewMySpaceViewModel : ViewModelBase
{
// 导航栏信息
var navData = UserInfo.GetUserInfoForNavigation();
if (navData is { IsLogin: false }) return;
if (navData != null)
{
ContentVisibility = true;