Created
October 6, 2019 15:02
-
-
Save nest-don/21302a2661facc88016d898666ab7fdd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (await _viewModel.UserViewModel.RestorePermitAsync()) | |
{ | |
// Navigate to the home page | |
// if a valid JWT not found! | |
await GoHomeAsync(); | |
} | |
else | |
{ | |
// Either register or login | |
await DoOnboardingAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment