Skip to content

Commit

Permalink
Remove new feature badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahrotahn committed Feb 6, 2024
1 parent 7276a98 commit 0fb958a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/extra/ungoogled-chromium/remove-uneeded-ui.patch
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# unneeded elements from the profile menu
# the 'Learn more' link on crashed tabs
# disable LiveCaption flag by default, this also removes non-functional Live Caption checkbox from media controls
# the new feature badges

--- a/chrome/browser/resources/extensions/item_list.html
+++ b/chrome/browser/resources/extensions/item_list.html
Expand Down Expand Up @@ -439,3 +440,14 @@

// Controls whether a "Share this tab instead" button should be shown for
// getDisplayMedia captures. Note: This flag does not control if the "Share this
--- a/ui/views/controls/menu/menu_item_view.cc
+++ b/ui/views/controls/menu/menu_item_view.cc
@@ -802,7 +802,7 @@ void MenuItemView::SetAlerted() {
}

bool MenuItemView::ShouldShowNewBadge() const {
- return is_new_;
+ return false;
}

bool MenuItemView::IsTraversableByKeyboard() const {

0 comments on commit 0fb958a

Please sign in to comment.