Skip to content
Snippets Groups Projects
Verified Commit e2d5c117 authored by morgan's avatar morgan :smile_cat: Committed by Pier Angelo Vendrame
Browse files

fixup! [android] Disable features and functionality

Bug 43094: Remove 'Open in regular tab' button
parent 019a8446
Branches
Tags
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -266,12 +266,12 @@ open class DefaultToolbarMenu(
onItemTapped.invoke(ToolbarMenu.Item.RequestDesktop(checked))
}
private val openInRegularTabItem = BrowserMenuImageText(
label = context.getString(R.string.browser_menu_open_in_regular_tab),
imageResource = R.drawable.ic_open_in_regular_tab,
) {
onItemTapped.invoke(ToolbarMenu.Item.OpenInRegularTab)
}
// private val openInRegularTabItem = BrowserMenuImageText(
// label = context.getString(R.string.browser_menu_open_in_regular_tab),
// imageResource = R.drawable.ic_open_in_regular_tab,
// ) {
// onItemTapped.invoke(ToolbarMenu.Item.OpenInRegularTab)
// }
private val customizeReaderView = BrowserMenuImageText(
label = context.getString(R.string.browser_menu_customize_reader_view),
......@@ -420,7 +420,7 @@ open class DefaultToolbarMenu(
findInPageItem,
translationsItem.apply { visible = ::shouldShowTranslations },
desktopSiteItem,
openInRegularTabItem.apply { visible = ::shouldShowOpenInRegularTab },
// openInRegularTabItem.apply { visible = ::shouldShowOpenInRegularTab },
customizeReaderView.apply { visible = ::shouldShowReaderViewCustomization },
openInApp.apply { visible = ::shouldShowOpenInApp },
reportSiteIssuePlaceholder,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment