diff --git a/src/Gml.Client b/src/Gml.Client index faec62c..3a7ca66 160000 --- a/src/Gml.Client +++ b/src/Gml.Client @@ -1 +1 @@ -Subproject commit faec62c0c40f89a4f2fe35c4b30d59f5468ef82b +Subproject commit 3a7ca66089fff1d61ec1e5296ef60c5039a9edac diff --git a/src/Gml.Launcher/ViewModels/SplashScreenViewModel.cs b/src/Gml.Launcher/ViewModels/SplashScreenViewModel.cs index f8852bc..366ce63 100644 --- a/src/Gml.Launcher/ViewModels/SplashScreenViewModel.cs +++ b/src/Gml.Launcher/ViewModels/SplashScreenViewModel.cs @@ -80,12 +80,12 @@ public async Task InitializeAsync() } var authUser = await _storageService.GetAsync(StorageConstants.User); - - var accessUser = await _manager.Auth(authUser?.AccessToken ?? string.Empty); - - await _storageService.SetAsync(StorageConstants.User, accessUser.User); - - IsAuth = accessUser.User.ExpiredDate > DateTime.Now && accessUser is { User.IsAuth: true }; + // + // var accessUser = await _manager.Auth(authUser?.AccessToken ?? string.Empty); + // + // await _storageService.SetAsync(StorageConstants.User, accessUser.User); + // + IsAuth = authUser != null && authUser.ExpiredDate > DateTime.Now && authUser is { IsAuth: true }; } catch (Exception exception) {