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/2219: Inflates toolbar menu from bottom (https://github.com/mozilla-mobile/fenix/pull/3389)
This commit is contained in:
parent
4131c3a535
commit
197eabd0c6
@ -24,7 +24,7 @@ class DefaultToolbarMenu(
|
|||||||
private val onItemTapped: (ToolbarMenu.Item) -> Unit = {}
|
private val onItemTapped: (ToolbarMenu.Item) -> Unit = {}
|
||||||
) : ToolbarMenu {
|
) : ToolbarMenu {
|
||||||
|
|
||||||
override val menuBuilder by lazy { BrowserMenuBuilder(menuItems) }
|
override val menuBuilder by lazy { BrowserMenuBuilder(menuItems, endOfMenuAlwaysVisible = true) }
|
||||||
|
|
||||||
override val menuToolbar by lazy {
|
override val menuToolbar by lazy {
|
||||||
val back = BrowserMenuItemToolbar.TwoStateButton(
|
val back = BrowserMenuItemToolbar.TwoStateButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user