Skip to content

Commit

Permalink
fix: use old shortcut key cuase crash in new settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jan 21, 2024
1 parent af7addf commit 3540c79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Easydict/App/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {

if (!EasydictNewAppManager.shared.enable) {
[EZMenuItemManager.shared setup];
[EZShortcut setup];
} else {
[Shortcut setupShortcut];
}

[EZShortcut setup];
[Shortcut setupShortcut];

[EZWindowManager.shared showMainWindowIfNedded];

Expand Down

0 comments on commit 3540c79

Please sign in to comment.