[fenix] For https://github.com/mozilla-mobile/fenix/issues/15272 - Remove bottom margin for toolbar on enter fullscreen

pull/600/head
ekager 4 years ago
parent 2f7edfe924
commit 5536851865

@ -1108,6 +1108,8 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
.show()
activity?.enterToImmersiveMode()
browserToolbarView.view.isVisible = false
val browserEngine = swipeRefresh.layoutParams as CoordinatorLayout.LayoutParams
browserEngine.bottomMargin = 0
engineView.setDynamicToolbarMaxHeight(0)
browserToolbarView.expand()

Loading…
Cancel
Save