private async void CheckForAccount()
 {
     if (_accountProvider.TryRelog() && await _accountProvider.CheckTokenAsync())
     {
         await _navigation.Navigate <HomeViewModel>();
     }
 }
Пример #2
0
 private async void CheckToken()
 {
     if (!await _accountProvider.CheckTokenAsync())
     {
         _accountProvider.Exit();
         GoToLogin();
     }
 }