For #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 d8c881a9f7
commit 4dfec35b73
1 changed files with 5 additions and 3 deletions

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