1
0
Fork 0

For #2390 - Adds local feature flag for onboarding

master
Jeff Boek 2019-05-15 22:58:43 -07:00
parent 95af2ddcc6
commit 7ac26f5b20
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class FenixOnboarding(private val context: Context) {
}
fun userHasBeenOnboarded(): Boolean {
if (!BuildConfig.DEBUG || tempFinish) return true
if (!BuildConfig.DEBUG || tempFinish || !ENABLED) return true
return onboardingPrefs.onboardedVersion == CURRENT_ONBOARDING_VERSION
}
@ -43,5 +43,6 @@ class FenixOnboarding(private val context: Context) {
companion object {
private const val CURRENT_ONBOARDING_VERSION = 1
private const val ENABLED = false
}
}