Verified Commit 4868781f authored by Dan Ballard's avatar Dan Ballard Committed by Pier Angelo Vendrame
Browse files

Bug 41972: Disable mozilla onboarding

parent 8b6b9122
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -309,11 +309,12 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
            } else {
                StartOnHome.enterHomeScreen.record(NoExtras())
            }

            /*
            if (settings().showHomeOnboardingDialog && components.fenixOnboarding.userHasBeenOnboarded()) {
                navHost.navController.navigate(NavGraphDirections.actionGlobalHomeOnboardingDialog())
            }
            showNotificationPermissionPromptIfRequired()
            */
        }

        Performance.processIntentIfPerformanceTest(intent, this)
@@ -1157,11 +1158,13 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
    }

    open fun navigateToHome() {
        if (components.fenixOnboarding.userHasBeenOnboarded()) {
        // if (components.fenixOnboarding.userHasBeenOnboarded()) {
            navHost.navController.navigate(NavGraphDirections.actionStartupHome())
        /*
        } else {
            navHost.navController.navigate(NavGraphDirections.actionStartupOnboarding())
        }
        */
    }

    override fun attachBaseContext(base: Context) {