Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ import org.mozilla.reference.browser.ext.getPreferenceKey
import org.mozilla.reference.browser.ext.requireComponents
import org.mozilla.reference.browser.pip.PictureInPictureIntegration
import org.mozilla.reference.browser.tabs.LastTabFeature
import mozilla.components.ui.widgets.behavior.ToolbarPosition as MozacEngineBehaviorToolbarPosition
import mozilla.components.ui.widgets.behavior.ViewPosition as MozacToolbarBehaviorToolbarPosition

private const val BOTTOM_TOOLBAR_HEIGHT = 0
/**
* Base fragment extended by [BrowserFragment] and [ExternalAppBrowserFragment].
* This class only contains shared code focused on the main browsing content.
Expand Down Expand Up @@ -360,11 +360,11 @@ abstract class BaseBrowserFragment :

(swipeRefresh.layoutParams as? CoordinatorLayout.LayoutParams)?.apply {
behavior = EngineViewClippingBehavior(
context,
null,
swipeRefresh,
toolbar.height,
MozacEngineBehaviorToolbarPosition.BOTTOM,
context = requireContext(),
attrs = null,
engineViewParent = swipeRefresh,
topToolbarHeight = toolbar.height,
bottomToolbarHeight = BOTTOM_TOOLBAR_HEIGHT,
)
}
swipeRefreshFeature.set(
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
# Android Components
android-components = "141.0.20250604183413"
android-components = "141.0.20250606014355"

# AGP
android-gradle-plugin = "8.10.1"
Expand Down
Loading