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

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

            await navigationService.Navigate <MainViewModel>();
        }
示例#2
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            lastTimeUsageStorage.SetLogin(timeService.CurrentDateTime);

            await dataSource.StartSyncing();

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

            await navigationService.Navigate <MainTabBarViewModel>();
        }
示例#3
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>();
        }
示例#4
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>();
        }
示例#5
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>();
        }
示例#6
0
        private async void onDataSource(ITogglDataSource dataSource)
        {
            await dataSource.StartSyncing();

            IsLoading = false;

            onboardingStorage.SetIsNewUser(IsSignUp);
            if (IsSignUp)
            {
                onboardingStorage.SetUserSignedUp();
            }

            await navigationService.Navigate <MainViewModel>();
        }