[fenix] For https://github.com/mozilla-mobile/fenix/issues/26754 - Avoid showing CFR if the MR onboarding is being displayed

pull/600/head
Gabriel Luong 2 years ago committed by mergify[bot]
parent 96b591b0f4
commit a5e3c1ab73

@ -217,6 +217,7 @@ class SessionControlView(
override fun onLayoutCompleted(state: RecyclerView.State?) {
super.onLayoutCompleted(state)
if (!context.settings().showHomeOnboardingDialog) {
JumpBackInCFRDialog(view).showIfNeeded()
if (context.settings().showSyncCFR) {
@ -226,6 +227,7 @@ class SessionControlView(
).showSyncCFR()
context.settings().showSyncCFR = false
}
}
// We want some parts of the home screen UI to be rendered first if they are
// the most prominent parts of the visible part of the screen.

Loading…
Cancel
Save