示例#1
0
 private IObservable <Unit> SignInWithEmailLink(string link)
 {
     return(_authService
            .SignInWithEmailLink(_preferencesService.GetString(PreferenceKeys.SignInLinkEmail), link)
            .SelectMany(_ => _navigationService.GoToAsync(NavigationPaths.PageAuth).ToObservable())
            .DoOnError(e => _userInteractionService.ShowErrorDialogAsync(Localization.DialogTitleUnexpectedError, e))
            .CatchAndLogException());
 }