[fenix] For https://github.com/mozilla-mobile/fenix/issues/26777 - Part 1: Rename SyncCFRPresenter to HomeCFRPresenter

pull/600/head
Gabriel Luong 2 years ago committed by mergify[bot]
parent 9772d5ea60
commit 13e8bf7c45

@ -24,7 +24,7 @@ import org.mozilla.fenix.home.OnboardingState
import org.mozilla.fenix.home.recentbookmarks.RecentBookmark import org.mozilla.fenix.home.recentbookmarks.RecentBookmark
import org.mozilla.fenix.home.recentvisits.RecentlyVisitedItem import org.mozilla.fenix.home.recentvisits.RecentlyVisitedItem
import org.mozilla.fenix.onboarding.JumpBackInCFRDialog import org.mozilla.fenix.onboarding.JumpBackInCFRDialog
import org.mozilla.fenix.onboarding.SyncCFRPresenter import org.mozilla.fenix.onboarding.HomeCFRPresenter
import org.mozilla.fenix.utils.Settings import org.mozilla.fenix.utils.Settings
// This method got a little complex with the addition of the tab tray feature flag // This method got a little complex with the addition of the tab tray feature flag
@ -215,7 +215,7 @@ class SessionControlView(
if (!context.settings().showHomeOnboardingDialog) { if (!context.settings().showHomeOnboardingDialog) {
if (context.settings().showSyncCFR) { if (context.settings().showSyncCFR) {
SyncCFRPresenter( HomeCFRPresenter(
context = context, context = context,
recyclerView = view, recyclerView = view,
).showSyncCFR() ).showSyncCFR()

@ -27,7 +27,7 @@ private const val CFR_TO_ANCHOR_VERTICAL_PADDING = -16
* @param context [Context] used for various Android interactions. * @param context [Context] used for various Android interactions.
* @param recyclerView [RecyclerView] will serve as anchor for the sync CFR. * @param recyclerView [RecyclerView] will serve as anchor for the sync CFR.
*/ */
class SyncCFRPresenter( class HomeCFRPresenter(
private val context: Context, private val context: Context,
private val recyclerView: RecyclerView, private val recyclerView: RecyclerView,
) { ) {
Loading…
Cancel
Save