tg app fix sizes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user