diff --git a/src/components/settings/RecurrentyCreateUpdate.vue b/src/components/settings/RecurrentyCreateUpdate.vue index 44a8ae7..57997f5 100644 --- a/src/components/settings/RecurrentyCreateUpdate.vue +++ b/src/components/settings/RecurrentyCreateUpdate.vue @@ -84,11 +84,11 @@ function handlePaste(e: ClipboardEvent) { recurrentAmount.value = isNaN(num) ? 0 : num } const tgApp = (window as any)?.Telegram?.WebApp; -const insetTop = ref(2) +const insetTop = ref(54) onMounted(async () => { if (tgApp && ['ios', 'android'].includes(tgApp.platform)) { - insetTop.value = tgApp.safeAreaInset.top + insetTop.value = tgApp.contentSafeAreaInset.top } await fetchData() @@ -109,7 +109,6 @@ onMounted(async () => {