From 76ccf73e095f959e55e97db1cd125dd3ef52d1b6 Mon Sep 17 00:00:00 2001 From: xds Date: Mon, 27 Oct 2025 21:48:00 +0300 Subject: [PATCH] tg app fix sizes --- src/App.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 370fc9a..1d7ddb8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -64,10 +64,13 @@ onMounted(() => { if (tgApp) { try { tgApp.expand?.(); - // tgApp.requestFullscreen?.(); + platform.value = tgApp.platform + if (['ios', 'android'].includes(platform.value)) { + tgApp.requestFullscreen?.(); + } tgApp.lockOrientation?.(); tgApp.disableVerticalSwipes() - platform.value = tgApp.platform + tgApp.ready(); setupBackButton(); } catch (err) {