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:
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.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()
|
||||
|
@ -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,
|
||||
) {
|
Loading…
Reference in New Issue
Block a user