mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
No issue: Removes unused nestedScrollQuickActionView (#5143)
This commit is contained in:
parent
7d023fefc9
commit
aef087aae0
@ -53,7 +53,6 @@ import org.mozilla.fenix.FeatureFlags
|
|||||||
import org.mozilla.fenix.HomeActivity
|
import org.mozilla.fenix.HomeActivity
|
||||||
import org.mozilla.fenix.IntentReceiverActivity
|
import org.mozilla.fenix.IntentReceiverActivity
|
||||||
import org.mozilla.fenix.R
|
import org.mozilla.fenix.R
|
||||||
import org.mozilla.fenix.theme.ThemeManager
|
|
||||||
import org.mozilla.fenix.collections.CreateCollectionViewModel
|
import org.mozilla.fenix.collections.CreateCollectionViewModel
|
||||||
import org.mozilla.fenix.components.FenixSnackbar
|
import org.mozilla.fenix.components.FenixSnackbar
|
||||||
import org.mozilla.fenix.components.FindInPageIntegration
|
import org.mozilla.fenix.components.FindInPageIntegration
|
||||||
@ -72,6 +71,7 @@ import org.mozilla.fenix.ext.enterToImmersiveMode
|
|||||||
import org.mozilla.fenix.ext.requireComponents
|
import org.mozilla.fenix.ext.requireComponents
|
||||||
import org.mozilla.fenix.quickactionsheet.QuickActionSheetBehavior
|
import org.mozilla.fenix.quickactionsheet.QuickActionSheetBehavior
|
||||||
import org.mozilla.fenix.settings.SupportUtils
|
import org.mozilla.fenix.settings.SupportUtils
|
||||||
|
import org.mozilla.fenix.theme.ThemeManager
|
||||||
import org.mozilla.fenix.utils.Settings
|
import org.mozilla.fenix.utils.Settings
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -157,7 +157,6 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
|||||||
findNavController(),
|
findNavController(),
|
||||||
(activity as HomeActivity).browsingModeManager,
|
(activity as HomeActivity).browsingModeManager,
|
||||||
findInPageLauncher = { findInPageIntegration.withFeature { it.launch() } },
|
findInPageLauncher = { findInPageIntegration.withFeature { it.launch() } },
|
||||||
nestedScrollQuickActionView = nestedScrollQuickAction,
|
|
||||||
engineView = engineView,
|
engineView = engineView,
|
||||||
customTabSession = customTabSessionId?.let { sessionManager.findSessionById(it) },
|
customTabSession = customTabSessionId?.let { sessionManager.findSessionById(it) },
|
||||||
viewModel = viewModel,
|
viewModel = viewModel,
|
||||||
|
@ -43,7 +43,6 @@ class DefaultBrowserToolbarController(
|
|||||||
private val navController: NavController,
|
private val navController: NavController,
|
||||||
private val browsingModeManager: BrowsingModeManager,
|
private val browsingModeManager: BrowsingModeManager,
|
||||||
private val findInPageLauncher: () -> Unit,
|
private val findInPageLauncher: () -> Unit,
|
||||||
private val nestedScrollQuickActionView: NestedScrollView,
|
|
||||||
private val engineView: EngineView,
|
private val engineView: EngineView,
|
||||||
private val customTabSession: Session?,
|
private val customTabSession: Session?,
|
||||||
private val viewModel: CreateCollectionViewModel,
|
private val viewModel: CreateCollectionViewModel,
|
||||||
|
@ -49,7 +49,6 @@ class DefaultBrowserToolbarControllerTest {
|
|||||||
private val browsingModeManager: BrowsingModeManager = mockk(relaxed = true)
|
private val browsingModeManager: BrowsingModeManager = mockk(relaxed = true)
|
||||||
private var navController: NavController = mockk(relaxed = true)
|
private var navController: NavController = mockk(relaxed = true)
|
||||||
private var findInPageLauncher: () -> Unit = mockk(relaxed = true)
|
private var findInPageLauncher: () -> Unit = mockk(relaxed = true)
|
||||||
private val nestedScrollQuickActionView: NestedScrollView = mockk(relaxed = true)
|
|
||||||
private val engineView: EngineView = mockk(relaxed = true)
|
private val engineView: EngineView = mockk(relaxed = true)
|
||||||
private val currentSession: Session = mockk(relaxed = true)
|
private val currentSession: Session = mockk(relaxed = true)
|
||||||
private val viewModel: CreateCollectionViewModel = mockk(relaxed = true)
|
private val viewModel: CreateCollectionViewModel = mockk(relaxed = true)
|
||||||
@ -69,7 +68,6 @@ class DefaultBrowserToolbarControllerTest {
|
|||||||
navController = navController,
|
navController = navController,
|
||||||
browsingModeManager = browsingModeManager,
|
browsingModeManager = browsingModeManager,
|
||||||
findInPageLauncher = findInPageLauncher,
|
findInPageLauncher = findInPageLauncher,
|
||||||
nestedScrollQuickActionView = nestedScrollQuickActionView,
|
|
||||||
engineView = engineView,
|
engineView = engineView,
|
||||||
customTabSession = null,
|
customTabSession = null,
|
||||||
viewModel = viewModel,
|
viewModel = viewModel,
|
||||||
@ -351,7 +349,6 @@ class DefaultBrowserToolbarControllerTest {
|
|||||||
navController = navController,
|
navController = navController,
|
||||||
browsingModeManager = browsingModeManager,
|
browsingModeManager = browsingModeManager,
|
||||||
findInPageLauncher = findInPageLauncher,
|
findInPageLauncher = findInPageLauncher,
|
||||||
nestedScrollQuickActionView = nestedScrollQuickActionView,
|
|
||||||
engineView = engineView,
|
engineView = engineView,
|
||||||
customTabSession = currentSession,
|
customTabSession = currentSession,
|
||||||
viewModel = viewModel,
|
viewModel = viewModel,
|
||||||
|
Loading…
Reference in New Issue
Block a user