Skip to content

Commit

Permalink
perf: rename menu bar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jan 30, 2024
1 parent 22adde0 commit 2b13193
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Easydict/Feature/StatusItem/EZMenuItemManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ - (void)setup {
NSStatusBarButton *button = statusItem.button;

#if DEBUG
NSImage *image = [NSImage imageNamed:@"status_icon_debug"];
NSImage *image = [NSImage imageNamed:@"rounded_menu_bar_icon"];
#else
NSImage *image = [NSImage imageNamed:@"status_icon"];
NSImage *image = [NSImage imageNamed:@"square_menu_bar_icon"];
#endif

[button setImage:image];
Expand Down
4 changes: 2 additions & 2 deletions Easydict/NewApp/EasydictApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ extension Bool {
enum MenuBarIconType: String, CaseIterable, Defaults.Serializable, Identifiable {
var id: Self { self }

case square = "status_icon"
case rounded = "status_icon_debug"
case square = "square_menu_bar_icon"
case rounded = "rounded_menu_bar_icon"
}

0 comments on commit 2b13193

Please sign in to comment.