For #18608: Also add default browser item in new menu.

upstream-sync
mcarare 3 years ago committed by Mihai Adrian Carare
parent acb24396e5
commit 8f1b3e03f1

@ -364,7 +364,9 @@ open class DefaultToolbarMenu(
BrowserMenuDivider(),
reportSiteIssuePlaceholder,
findInPage,
getSetDefaultBrowserItem()?.let { BrowserMenuDivider() },
getSetDefaultBrowserItem(),
getSetDefaultBrowserItem()?.let { BrowserMenuDivider() },
addToTopSites,
addToHomescreen.apply { visible = ::canAddToHomescreen },
installToHomescreen.apply { visible = ::canInstall },
@ -563,6 +565,8 @@ open class DefaultToolbarMenu(
extensionsItem,
if (tabsTrayRewrite) syncMenuItem else syncedTabsItem,
BrowserMenuDivider(),
getSetDefaultBrowserItem(),
getSetDefaultBrowserItem()?.let { BrowserMenuDivider() },
findInPageItem,
desktopSiteItem,
customizeReaderView.apply { visible = ::shouldShowReaderViewCustomization },

Loading…
Cancel
Save