From 1880cffad9ee0089cf7795a0ed52985172035c65 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 21 Jan 2026 06:43:44 +0300 Subject: [PATCH 1/3] Update Subscription.tsx --- src/pages/Subscription.tsx | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index b380fae..2634932 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -455,19 +455,21 @@ export default function Subscription() { {t('subscription.getConfig')} - {/* Subscription URL */} -
- - {subscription.subscription_url} - - -
+ {/* Subscription URL - hidden when hide_subscription_link is true */} + {!subscription.hide_subscription_link && ( +
+ + {subscription.subscription_url} + + +
+ )} )} From 613dadfc11458f30b3aa0442a39da96c373c3c23 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 21 Jan 2026 06:44:41 +0300 Subject: [PATCH 2/3] Update index.ts --- src/types/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/index.ts b/src/types/index.ts index 2154f86..ebebcba 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -482,6 +482,7 @@ export interface AppConfig { platformNames: Record hasSubscription: boolean subscriptionUrl: string | null + hideLink?: boolean branding?: { name?: string logoUrl?: string From 0c44b03d5dbada91507d9c2603a4043e16e3fb85 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 21 Jan 2026 06:45:16 +0300 Subject: [PATCH 3/3] Update ConnectionModal.tsx --- src/components/ConnectionModal.tsx | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/ConnectionModal.tsx b/src/components/ConnectionModal.tsx index a0a10dc..0fa463f 100644 --- a/src/components/ConnectionModal.tsx +++ b/src/components/ConnectionModal.tsx @@ -442,17 +442,20 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) { {t('subscription.connection.addToApp', { appName: selectedApp.name })} )} - + {/* Copy link button - hidden when hideLink is true */} + {!appConfig?.hideLink && ( + + )} )}