|
|
@@ -5,26 +5,28 @@ import { SplashScreen } from '@ionic-native/splash-screen/ngx'; |
|
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'app-root', |
|
|
|
templateUrl: 'app.component.html', |
|
|
|
styleUrls: ['app.component.scss'] |
|
|
|
selector: 'app-root', |
|
|
|
templateUrl: 'app.component.html', |
|
|
|
styleUrls: ['app.component.scss'] |
|
|
|
}) |
|
|
|
export class AppComponent { |
|
|
|
constructor( |
|
|
|
private platform: Platform, |
|
|
|
private splashScreen: SplashScreen, |
|
|
|
private statusBar: StatusBar |
|
|
|
) { |
|
|
|
this.initializeApp(); |
|
|
|
} |
|
|
|
showAddParty: boolean = false; |
|
|
|
|
|
|
|
initializeApp() { |
|
|
|
this.platform.ready().then(() => { |
|
|
|
this.statusBar.styleDefault(); |
|
|
|
this.splashScreen.hide(); |
|
|
|
constructor( |
|
|
|
private platform: Platform, |
|
|
|
private splashScreen: SplashScreen, |
|
|
|
private statusBar: StatusBar |
|
|
|
) { |
|
|
|
this.initializeApp(); |
|
|
|
} |
|
|
|
|
|
|
|
localStorage.isPartyChatOn = 'no'; |
|
|
|
initializeApp() { |
|
|
|
this.platform.ready().then(() => { |
|
|
|
this.statusBar.styleDefault(); |
|
|
|
this.splashScreen.hide(); |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
localStorage.isPartyChatOn = 'no'; |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |