Add Telegram WebApp support: initialize app, enhance layout with fullscreen toggle, and improve polling mechanism in Wheel component

This commit is contained in:
PEDZEO
2026-01-20 00:13:11 +03:00
parent c96ec5ecf6
commit 8753000a03
6 changed files with 219 additions and 16 deletions

View File

@@ -6,9 +6,13 @@ import App from './App'
import { ThemeColorsProvider } from './providers/ThemeColorsProvider'
import { ToastProvider } from './components/Toast'
import { initLogoPreload } from './api/branding'
import { initTelegramWebApp } from './hooks/useTelegramWebApp'
import './i18n'
import './styles/globals.css'
// Initialize Telegram WebApp (expand, disable swipes)
initTelegramWebApp()
// Preload logo from cache immediately on page load
initLogoPreload()