feat(spa): lock vertical orientation
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user