Skip to content

Commit

Permalink
move and fix about menu item icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Oct 13, 2024
1 parent 977d492 commit 5d68ad2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/chrome/browser/ui/toolbar/app_menu_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1940,18 +1940,18 @@ void AppMenuModel::Build() {
sub_menus_.push_back(std::make_unique<HelpMenuModel>(this, browser_));
AddSubMenuWithStringIdAndVectorIcon(this, IDC_HELP_MENU, IDS_HELP_MENU,
sub_menus_.back().get(), kHelpMenuIcon);
#else
// Add About icon to Thorium menu
#if BUILDFLAG(IS_CHROMEOS_ASH)
AddItemWithStringIdAndVectorIcon(this, IDC_ABOUT, IDS_ABOUT, vector_icons::kInfoRefreshIcon);
#else
AddItemWithStringIdAndVectorIcon(this, IDC_ABOUT, IDS_ABOUT, vector_icons::kInfoRefreshIcon);
#endif
#endif

AddItemWithStringIdAndVectorIcon(this, IDC_OPTIONS, IDS_SETTINGS,
kSettingsMenuIcon);

// Add About icon to Thorium menu
#if BUILDFLAG(IS_CHROMEOS_ASH)
AddItemWithStringIdAndVectorIcon(this, IDC_ABOUT, IDS_ABOUT, vector_icons::kInfoRegularIcon);
#else
AddItemWithStringIdAndVectorIcon(this, IDC_ABOUT, IDS_ABOUT, vector_icons::kInfoRegularIcon);
#endif

if (browser_defaults::kShowExitMenuItem) {
AddItemWithStringIdAndVectorIcon(this, IDC_EXIT, IDS_EXIT, kExitMenuIcon);
}
Expand Down

0 comments on commit 5d68ad2

Please sign in to comment.