For #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 b7317d75a3
commit 86b62af556
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.recentvisits.RecentlyVisitedItem
import org.mozilla.fenix.onboarding.JumpBackInCFRDialog
import org.mozilla.fenix.onboarding.SyncCFRPresenter
import org.mozilla.fenix.onboarding.HomeCFRPresenter
import org.mozilla.fenix.utils.Settings
// 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().showSyncCFR) {
SyncCFRPresenter(
HomeCFRPresenter(
context = context,
recyclerView = view,
).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 recyclerView [RecyclerView] will serve as anchor for the sync CFR.
*/
class SyncCFRPresenter(
class HomeCFRPresenter(
private val context: Context,
private val recyclerView: RecyclerView,
) {