diff --git a/src/components/settings/RecurrentyCreateUpdate.vue b/src/components/settings/RecurrentyCreateUpdate.vue index 9f44d9a..cdc303d 100644 --- a/src/components/settings/RecurrentyCreateUpdate.vue +++ b/src/components/settings/RecurrentyCreateUpdate.vue @@ -83,9 +83,14 @@ function handlePaste(e: ClipboardEvent) { const num = Number(text) recurrentAmount.value = isNaN(num) ? 0 : num } - +const tgApp = (window as any)?.Telegram?.WebApp; +const insetTop = ref(2) onMounted(async () => { + if (tgApp && ['ios', 'android'].includes(tgApp.platform)) { + insetTop.value = tgApp.safeAreaInset.top + } + await fetchData() if (mode.value === "edit") { @@ -111,7 +116,9 @@ onMounted(async () => {
-
+
{
-
{{ i }}