-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: modify menu bar icon * feat: use the debug icon in debug mode * Update Easydict/App/Localizable.xcstrings `Menubar icon` would do Co-authored-by: Tisfeng <[email protected]> * perf(UI): adjust localization for menubar * fix: string catalog file * Update Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift * Update Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift * Update Easydict/NewApp/EasydictApp.swift Co-authored-by: Tisfeng <[email protected]> * pref: optimize the use of MenuBarIconType * feat: switch icon colors based on the color scheme * pref: use .primary style * perf: rename MenuBarIconType enum value * Revert "perf(UI): adjust localization for menubar" This reverts commit dd4bfcc. * perf: update menu bar icon, use original rendering mode in debug * perf: rename menu bar icon --------- Co-authored-by: Jerry Zhang <[email protected]> Co-authored-by: Tisfeng <[email protected]> Co-authored-by: Jerry <[email protected]>
- Loading branch information
1 parent
557292c
commit 8a3715d
Showing
15 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
...u-icon/status_icon.imageset/Contents.json → ...nded_menu_bar_icon.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "release_18.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "release_36.png", | ||
"filename" : "rounded.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "release_54.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"localizable" : true | ||
} | ||
} |
Binary file added
BIN
+4.34 KB
Easydict/App/Assets.xcassets/menu-icon/rounded_menu_bar_icon.imageset/rounded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions
4
.../status_icon_debug.imageset/Contents.json → ...uare_menu_bar_icon.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.75 KB
Easydict/App/Assets.xcassets/menu-icon/square_menu_bar_icon.imageset/square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-1.45 KB
Easydict/App/Assets.xcassets/menu-icon/status_icon.imageset/release_18.png
Binary file not shown.
Binary file removed
BIN
-1.71 KB
Easydict/App/Assets.xcassets/menu-icon/status_icon.imageset/release_36.png
Binary file not shown.
Binary file removed
BIN
-838 Bytes
Easydict/App/Assets.xcassets/menu-icon/status_icon.imageset/release_54.png
Binary file not shown.
Binary file removed
BIN
-1.18 KB
Easydict/App/Assets.xcassets/menu-icon/status_icon_debug.imageset/debug_20 1.png
Binary file not shown.
Binary file removed
BIN
-2.07 KB
Easydict/App/Assets.xcassets/menu-icon/status_icon_debug.imageset/debug_40 1.png
Binary file not shown.
Binary file removed
BIN
-1.08 KB
Easydict/App/Assets.xcassets/menu-icon/status_icon_debug.imageset/debug_60 1.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters