For #26777 - Part 1: Rename SyncCFRPresenter to HomeCFRPresenter
This commit is contained in:
parent
b7317d75a3
commit
86b62af556
|
@ -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…
Reference in New Issue
Block a user