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); }
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); }