2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/26774 - Attempt to show the Synced Tab CFR before the Jump Back In CFR

This commit is contained in:
Gabriel Luong 2022-09-01 18:56:37 -04:00 committed by mergify[bot]
parent ea07a6dc2b
commit d2f7a63214

View File

@ -214,14 +214,16 @@ class SessionControlView(
super.onLayoutCompleted(state)
if (!context.settings().showHomeOnboardingDialog) {
if (context.settings().shouldShowJumpBackInCFR) {
JumpBackInCFRDialog(view).showIfNeeded()
} else if (context.settings().showSyncCFR) {
if (context.settings().showSyncCFR) {
SyncCFRPresenter(
context = context,
recyclerView = view,
).showSyncCFR()
}
if (context.settings().shouldShowJumpBackInCFR) {
JumpBackInCFRDialog(view).showIfNeeded()
}
}
// We want some parts of the home screen UI to be rendered first if they are