tg app fix sizes

This commit is contained in:
xds
2025-10-27 17:26:07 +03:00
parent 87441da19b
commit 43f1a342c7

View File

@@ -42,7 +42,7 @@ onMounted(() => {
tgApp.expand?.(); // более мягкий вариант, чем requestFullscreen() tgApp.expand?.(); // более мягкий вариант, чем requestFullscreen()
tgApp.requestFullscreen?.(); tgApp.requestFullscreen?.();
tgApp.lockOrientation?.(); tgApp.lockOrientation?.();
if (route.path != '/') { if (route.path !== '/') {
tgApp.BackButton.show() tgApp.BackButton.show()
// при нажатии — возвращаемся назад // при нажатии — возвращаемся назад
const handleBack = () => { const handleBack = () => {
@@ -69,6 +69,7 @@ onBeforeUnmount(() => {
</script> </script>
<template> <template>
<div class="flex flex-col tg"> <div class="flex flex-col tg">
<SpaceList v-if="isSpaceSelected" @space-selected="spaceSelected" /> <SpaceList v-if="isSpaceSelected" @space-selected="spaceSelected" />