protected override Task OnNavigatedToAsync(object parameter, NavigationMode mode, NavigationState state)
        {
            var authState = ProtoService.GetAuthorizationState();

            if (authState is AuthorizationStateWaitPassword waitPassword)
            {
                _parameters = waitPassword;
                RecoveryEmailAddressPattern = waitPassword.RecoveryEmailAddressPattern;
            }

            return(Task.CompletedTask);
        }
Exemple #2
0
        public override Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary <string, object> state)
        {
            var authState = ProtoService.GetAuthorizationState();

            if (authState is AuthorizationStateWaitPassword waitPassword)
            {
                _parameters  = waitPassword;
                PasswordHint = waitPassword.PasswordHint;
            }

            return(Task.CompletedTask);
        }