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:
parent
ea07a6dc2b
commit
d2f7a63214
@ -214,14 +214,16 @@ class SessionControlView(
|
|||||||
super.onLayoutCompleted(state)
|
super.onLayoutCompleted(state)
|
||||||
|
|
||||||
if (!context.settings().showHomeOnboardingDialog) {
|
if (!context.settings().showHomeOnboardingDialog) {
|
||||||
if (context.settings().shouldShowJumpBackInCFR) {
|
if (context.settings().showSyncCFR) {
|
||||||
JumpBackInCFRDialog(view).showIfNeeded()
|
|
||||||
} else if (context.settings().showSyncCFR) {
|
|
||||||
SyncCFRPresenter(
|
SyncCFRPresenter(
|
||||||
context = context,
|
context = context,
|
||||||
recyclerView = view,
|
recyclerView = view,
|
||||||
).showSyncCFR()
|
).showSyncCFR()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (context.settings().shouldShowJumpBackInCFR) {
|
||||||
|
JumpBackInCFRDialog(view).showIfNeeded()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// We want some parts of the home screen UI to be rendered first if they are
|
// We want some parts of the home screen UI to be rendered first if they are
|
||||||
|
Loading…
Reference in New Issue
Block a user