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/18591 - Make the navbar sticky in the new menu

This commit is contained in:
Mugurell 2021-04-12 14:32:55 +03:00
parent b203ac5f44
commit b04c52d115

View File

@ -161,7 +161,7 @@ open class DefaultToolbarMenu(
registerForIsBookmarkedUpdates() registerForIsBookmarkedUpdates()
if (FeatureFlags.toolbarMenuFeature) { if (FeatureFlags.toolbarMenuFeature) {
BrowserMenuItemToolbar(listOf(back, forward, share, refresh)) BrowserMenuItemToolbar(listOf(back, forward, share, refresh), isSticky = true)
} else { } else {
val bookmark = BrowserMenuItemToolbar.TwoStateButton( val bookmark = BrowserMenuItemToolbar.TwoStateButton(
primaryImageResource = R.drawable.ic_bookmark_filled, primaryImageResource = R.drawable.ic_bookmark_filled,