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:
parent
b203ac5f44
commit
b04c52d115
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user