Browse Source

Remove new feature badges

Blaise 2 months ago
parent
commit
0fb958a4f9
1 changed files with 12 additions and 0 deletions
  1. 12 0
      patches/extra/ungoogled-chromium/remove-uneeded-ui.patch

+ 12 - 0
patches/extra/ungoogled-chromium/remove-uneeded-ui.patch

@@ -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
@@ -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 {