Skip to content

Commit

Permalink
Add eudic2 detect (tisfeng#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam authored Mar 14, 2024
1 parent ac5858c commit e5ce53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ - (void)updateConstraints {
EZOpenLinkButton *eudicButton = [[EZOpenLinkButton alloc] init];

// !!!: Note that some applications have multiple channel versions. Ref: https://github.com/tisfeng/Raycast-Easydict/issues/16
BOOL installedEudic = [self checkInstalledApp:@[@"com.eusoft.freeeudic", @"com.eusoft.eudic"]];
BOOL installedEudic = [self checkInstalledApp:@[@"com.eusoft.freeeudic", @"com.eusoft.eudic", @"eusoft.eudic.ip"]];
eudicButton.hidden = !installedEudic;
if (installedEudic) {
[self addSubview:eudicButton];
Expand Down

0 comments on commit e5ce53b

Please sign in to comment.