before remake add chat window

This commit is contained in:
2026-04-23 08:51:14 +03:00
parent 09d7812a7a
commit 94851c8b82
90 changed files with 8833 additions and 4159 deletions

View File

@@ -3,9 +3,7 @@ import type { WebApp } from "@twa-dev/types"
declare global {
interface Window {
Telegram: {
WebApp: WebApp
}
Telegram: { WebApp: WebApp }
}
}
@@ -13,6 +11,7 @@ export default defineBoot(({ app }) => {
const tg = window.Telegram?.WebApp
tg.ready()
tg.disableVerticalSwipes()
sessionStorage.setItem('isTelegram', tg.initData ? 'true' : 'false')
const platform = tg.platform.toLowerCase()