From d7470f41396cd53e7a83a3e07aecc4773ca94bf3 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Thu, 29 Jan 2026 05:52:59 +0100 Subject: [PATCH] fix(iOS): disable online catalogs on iOS from appstore channel (#3102) --- apps/readest-app/src/services/nativeAppService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/readest-app/src/services/nativeAppService.ts b/apps/readest-app/src/services/nativeAppService.ts index 42cc6153..92d68c3e 100644 --- a/apps/readest-app/src/services/nativeAppService.ts +++ b/apps/readest-app/src/services/nativeAppService.ts @@ -451,11 +451,10 @@ export class NativeAppService extends BaseAppService { }); } if (this.isIOSApp) { + this.isOnlineCatalogsAccessible = this.distChannel !== 'appstore'; const res = await getStorefrontRegionCode(); if (res.regionCode) { this.storefrontRegionCode = res.regionCode; - this.isOnlineCatalogsAccessible = - this.storefrontRegionCode.toLowerCase() !== 'chn' || this.distChannel !== 'appstore'; } } await this.prepareBooksDir();