2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

Bug 1880150 - Do not wait for attribution before dismissing splash screen

This commit is contained in:
Roger Yang 2024-02-13 14:21:40 -05:00 committed by mergify[bot]
parent a7c42269cd
commit ff6e0c2cd8

View File

@ -447,8 +447,8 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
var maxDurationReached = false
val delay = FxNimbus.features.splashScreen.value().maximumDurationMs.toLong()
splashScreen.setKeepOnScreenCondition {
val dataFetched = components.settings.utmParamsKnown &&
components.settings.nimbusExperimentsFetched
val dataFetched = components.settings.nimbusExperimentsFetched
val keepOnScreen = !maxDurationReached && !dataFetched
if (!keepOnScreen) {
SplashScreen.firstLaunchExtended.record(