mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
viewer rotation
This commit is contained in:
@@ -45,7 +45,7 @@ export class AppComponent {
|
||||
this.initializeApp();
|
||||
this.storage.set('version', environment.version).then(() => {})
|
||||
ChatController.ChatSystemService = this.ChatSystemService
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* requestPermission() {
|
||||
@@ -70,11 +70,11 @@ export class AppComponent {
|
||||
initializeApp() {
|
||||
this.platform.ready().then(() => {
|
||||
this.statusBar.styleDefault();
|
||||
|
||||
|
||||
if (this.platform.is("tablet")) {
|
||||
window.screen.orientation.unlock();
|
||||
} else if( this.platform.is("mobile")) {
|
||||
window.screen.orientation.lock('portrait');
|
||||
// window.screen.orientation.lock('portrait');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user