private async void onDataSource(ITogglDataSource dataSource) { await dataSource.StartSyncing(); onboardingStorage.SetIsNewUser(true); onboardingStorage.SetUserSignedUp(); await navigationService.Navigate <MainViewModel>(); }
private async void onDataSource(ITogglDataSource dataSource) { lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime); await dataSource.StartSyncing(); onboardingStorage.SetIsNewUser(true); onboardingStorage.SetUserSignedUp(); await navigationService.Navigate <MainTabBarViewModel>(); }
private async void onDataSource(ITogglDataSource dataSource) { successfulSignupSubject.OnNext(Unit.Default); lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime); await dataSource.SyncManager.ForceFullSync(); onboardingStorage.SetIsNewUser(true); onboardingStorage.SetUserSignedUp(); await navigationService.ForkNavigate <MainTabBarViewModel, MainViewModel>(); }
private async void onAuthenticated() { successfulSignupSubject.OnNext(Unit.Default); lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime); onboardingStorage.SetIsNewUser(true); onboardingStorage.SetUserSignedUp(); await UIDependencyContainer.Instance.SyncManager.ForceFullSync(); await navigationService.Navigate <MainTabBarViewModel>(); }
private async void onInteractorFactory(ISyncManager syncManager) { successfulSignupSubject.OnNext(Unit.Default); lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime); await syncManager.ForceFullSync(); onboardingStorage.SetIsNewUser(true); onboardingStorage.SetUserSignedUp(); await navigationService.Navigate <MainTabBarViewModel>(); }
private async void onDataSource(ITogglDataSource dataSource) { await dataSource.StartSyncing(); IsLoading = false; onboardingStorage.SetIsNewUser(IsSignUp); if (IsSignUp) { onboardingStorage.SetUserSignedUp(); } await navigationService.Navigate <MainViewModel>(); }