tg app fix sizes
This commit is contained in:
@@ -88,7 +88,7 @@ const insetTop = ref(54)
|
|||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
if (tgApp && ['ios', 'android'].includes(tgApp.platform)) {
|
if (tgApp && ['ios', 'android'].includes(tgApp.platform)) {
|
||||||
insetTop.value = tgApp.contentSafeAreaInset.top
|
insetTop.value = tgApp.contentSafeAreaInset.top + tgApp.safeAreaInset.top
|
||||||
}
|
}
|
||||||
|
|
||||||
await fetchData()
|
await fetchData()
|
||||||
|
|||||||
Reference in New Issue
Block a user