2020-08-05 15:39:16 +01:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
|
|
|
|
import { Platform } from '@ionic/angular';
|
2021-02-25 11:50:32 +01:00
|
|
|
/* import { SplashScreen } from '@ionic-native/splash-screen/ngx'; */
|
2020-08-05 15:39:16 +01:00
|
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
2021-02-25 11:50:32 +01:00
|
|
|
|
2020-08-05 15:39:16 +01:00
|
|
|
@Component({
|
|
|
|
|
selector: 'app-root',
|
|
|
|
|
templateUrl: 'app.component.html',
|
|
|
|
|
styleUrls: ['app.component.scss']
|
|
|
|
|
})
|
|
|
|
|
export class AppComponent {
|
|
|
|
|
constructor(
|
|
|
|
|
private platform: Platform,
|
2021-02-25 11:50:32 +01:00
|
|
|
/* private splashScreen: SplashScreen, */
|
|
|
|
|
private statusBar: StatusBar
|
2020-08-05 15:39:16 +01:00
|
|
|
) {
|
|
|
|
|
this.initializeApp();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
initializeApp() {
|
|
|
|
|
this.platform.ready().then(() => {
|
2021-02-25 11:50:32 +01:00
|
|
|
this.statusBar.styleDefault();
|
|
|
|
|
/* this.splashScreen.hide(); */
|
2020-08-05 15:39:16 +01:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|