Esempio n. 1
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            await dataSource.StartSyncing();

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

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

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

            IsLoading = false;

            onboardingStorage.SetIsNewUser(IsSignUp);

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

            onboardingStorage.SetIsNewUser(false);

            await UIDependencyContainer.Instance.SyncManager.ForceFullSync();

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

            await syncManager.ForceFullSync();

            onboardingStorage.SetIsNewUser(false);

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

            await dataSource.SyncManager.ForceFullSync();

            onboardingStorage.SetIsNewUser(false);

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

            await dataSource.StartSyncing();

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

            await navigationService.Navigate <MainTabBarViewModel>();
        }
Esempio n. 8
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await dataSource.StartSyncing();

            isLoadingSubject.OnNext(false);

            onboardingStorage.SetIsNewUser(false);

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

            await dataSource.StartSyncing();

            IsLoading = false;

            onboardingStorage.SetIsNewUser(false);

            await navigationService.Navigate <MainViewModel>();
        }
Esempio n. 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>();
        }
Esempio n. 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>();
        }
Esempio n. 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>();
        }
Esempio n. 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>();
        }