2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

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

This commit is contained in:
ekager 2020-09-21 11:23:06 -07:00
parent 2f7edfe924
commit 5536851865

View File

@ -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()