Unverified Commit dca9b30b authored by Matthew Finkel's avatar Matthew Finkel
Browse files

squash! Modify UI/UX

Bug 40167: Hide "Save to Collection" in menu
parent 416bcf65
Pipeline #8633 failed with stages
......@@ -472,13 +472,13 @@ open class DefaultToolbarMenu(
onItemTapped.invoke(ToolbarMenu.Item.AddToTopSites)
}
val saveToCollectionItem = BrowserMenuImageText(
label = context.getString(R.string.browser_menu_save_to_collection_2),
imageResource = R.drawable.ic_tab_collection,
iconTintColorResource = primaryTextColor()
) {
onItemTapped.invoke(ToolbarMenu.Item.SaveToCollection)
}
//val saveToCollectionItem = BrowserMenuImageText(
// label = context.getString(R.string.browser_menu_save_to_collection_2),
// imageResource = R.drawable.ic_tab_collection,
// iconTintColorResource = primaryTextColor()
//) {
// onItemTapped.invoke(ToolbarMenu.Item.SaveToCollection)
//}
val settingsItem = BrowserMenuHighlightableItem(
label = context.getString(R.string.browser_menu_settings),
......@@ -575,7 +575,7 @@ open class DefaultToolbarMenu(
//addToHomeScreenItem.apply { visible = ::canAddToHomescreen },
//installToHomescreen.apply { visible = ::canInstall },
addToTopSitesItem,
saveToCollectionItem,
//saveToCollectionItem,
BrowserMenuDivider(),
settingsItem,
if (shouldDeleteDataOnQuit) deleteDataOnQuit else null,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment