Beispiel #1
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            await dataSource.StartSyncing();

            onboardingStorage.SetIsNewUser(true);
            onboardingStorage.SetUserSignedUp();

            await navigationService.Navigate <MainViewModel>();
        }
Beispiel #2
0
        private void OnIsWelcomeChanged()
        {
            if (IsWelcome)
            {
                return;
            }

            onboardingStorage.SetIsNewUser(false);
        }
Beispiel #3
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            await dataSource.StartSyncing();

            IsLoading = false;

            onboardingStorage.SetIsNewUser(IsSignUp);

            await navigationService.Navigate <MainViewModel>();
        }
Beispiel #4
0
        private async void onAuthenticated()
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            onboardingStorage.SetIsNewUser(false);

            await UIDependencyContainer.Instance.SyncManager.ForceFullSync();

            await navigationService.Navigate <MainTabBarViewModel>();
        }
Beispiel #5
0
        private async void onInteractorFactory(ISyncManager syncManager)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await syncManager.ForceFullSync();

            onboardingStorage.SetIsNewUser(false);

            await navigationService.Navigate <MainTabBarViewModel>();
        }
Beispiel #6
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await dataSource.SyncManager.ForceFullSync();

            onboardingStorage.SetIsNewUser(false);

            await navigationService.ForkNavigate <MainTabBarViewModel, MainViewModel>();
        }
Beispiel #7
0
        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)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await dataSource.StartSyncing();

            isLoadingSubject.OnNext(false);

            onboardingStorage.SetIsNewUser(false);

            await navigationService.ForkNavigate <MainTabBarViewModel, MainViewModel>();
        }
        private async void onDataSource(ITogglDataSource dataSource)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await dataSource.StartSyncing();

            IsLoading = false;

            onboardingStorage.SetIsNewUser(false);

            await navigationService.Navigate <MainViewModel>();
        }
Beispiel #10
0
        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>();
        }
Beispiel #11
0
        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>();
        }
Beispiel #12
0
        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>();
        }
Beispiel #13
0
        private async void onAuthenticated()
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            onboardingStorage.SetIsNewUser(false);

            interactorFactory.GetCurrentUser().Execute()
            .Select(u => u.Id)
            .Subscribe(analyticsService.SetAppCenterUserId);

            await UIDependencyContainer.Instance.SyncManager.ForceFullSync();

            await Navigate <MainTabBarViewModel>();
        }