From e5ce53bc20ad6b34d04dff62a05fa2d6a361818c Mon Sep 17 00:00:00 2001 From: "AndyChen(Jingzhang)" Date: Thu, 14 Mar 2024 10:26:57 +0800 Subject: [PATCH] Add eudic2 detect (#455) --- Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m b/Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m index 2b2c364aa..892cd9868 100644 --- a/Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m +++ b/Easydict/Feature/ViewController/View/Titlebar/EZTitlebar.m @@ -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];