[fenix] For https://github.com/mozilla-mobile/fenix/issues/18770 - Correct addons position in three dot menu based on toolbar position (https://github.com/mozilla-mobile/fenix/pull/18828)

pull/600/head
Elise Richards 4 years ago committed by GitHub
parent 242ea763de
commit 16c4823bef

@ -83,13 +83,13 @@ open class DefaultToolbarMenu(
} else {
oldCoreMenuItems
},
endOfMenuAlwaysVisible = !shouldUseBottomToolbar,
endOfMenuAlwaysVisible = shouldUseBottomToolbar,
store = store,
webExtIconTintColorResource = primaryTextColor,
onAddonsManagerTapped = {
onItemTapped.invoke(ToolbarMenu.Item.AddonsManager)
},
appendExtensionSubMenuAtStart = !shouldUseBottomToolbar
appendExtensionSubMenuAtStart = shouldUseBottomToolbar
)
}
@ -374,6 +374,7 @@ open class DefaultToolbarMenu(
menuItems.reversed()
}
}
val newTabItem = BrowserMenuImageText(
context.getString(R.string.library_new_tab),
R.drawable.ic_new,

Loading…
Cancel
Save