From 34ec53495ecc9d304151405fac8f2ef7c5dbc36d Mon Sep 17 00:00:00 2001 From: Egor Date: Mon, 19 Jan 2026 07:57:23 +0300 Subject: [PATCH] Add files via upload --- src/components/ConnectionModal.tsx | 5 +- src/components/TopUpModal.tsx | 84 ++++++------------------------ 2 files changed, 18 insertions(+), 71 deletions(-) diff --git a/src/components/ConnectionModal.tsx b/src/components/ConnectionModal.tsx index ef89184..0d4f22f 100644 --- a/src/components/ConnectionModal.tsx +++ b/src/components/ConnectionModal.tsx @@ -227,8 +227,9 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) { if (isCustomScheme && tg?.openLink) { // For custom URL schemes - open redirect page in external browser via Telegram + // try_browser: true - показывает диалог для перехода во внешний браузер (важно для мобильных) try { - tg.openLink(redirectUrl, { try_instant_view: false }) + tg.openLink(redirectUrl, { try_instant_view: false, try_browser: true }) return } catch (e) { console.warn('tg.openLink failed:', e) @@ -286,7 +287,7 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {

{t('subscription.connection.title')}

-