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/26777 - Part 1: Rename SyncCFRPresenter to HomeCFRPresenter

This commit is contained in:
Gabriel Luong 2022-09-07 00:27:05 -04:00 committed by mergify[bot]
parent 9772d5ea60
commit 13e8bf7c45
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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,
) { ) {