Skip to content
Snippets Groups Projects
Commit 47a49a9d authored by morgan's avatar morgan :smile_cat:
Browse files

fixup! [android] Disable features and functionality

Bug 43094: Remove 'Open in regular tab' button
parent 431ff1b6
No related branches found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1148Bug 43094: Remove "Open in regular tab" button
Pipeline #198928 passed
......@@ -265,12 +265,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),
......@@ -419,7 +419,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 = ::sho uldShowOpenInApp },
// reportSiteIssuePlaceholder,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment