feat(spa): lock vertical orientation

This commit is contained in:
2025-10-19 13:51:09 +03:00
parent e7e045b695
commit 6467216775

View File

@@ -63,6 +63,7 @@ settings.load()
.then(() => { appLoading.unmount(); app.mount('#app'); })
.then(() => window.Telegram.WebApp.ready())
.then(() => settings.ya_metrika_enabled && injectYaMetrika())
.then(() => window.Telegram.WebApp.lockOrientation())
.catch(error => {
console.error(error);
const errorApp = createApp(ApplicationError, {error});