From 7c5acab7fae4b4377407c53269849fb7e9ed3ccf Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 30 May 2017 21:50:11 +0200 Subject: [PATCH 1/2] refactor(app.component.ts) unified templates --- src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 4fc5537..98085b2 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -28,7 +28,7 @@ export class MyApp { } - initializeApp() { + ionViewDidLoad() { this.platform.ready().then(() => { // Okay, so the platform is ready and our plugins are available. // Here you can do any higher level native things you might need. From e633a2d49d2065e83f118ce493ae7f6060e8045b Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 30 May 2017 21:50:26 +0200 Subject: [PATCH 2/2] Update app.component.ts --- src/app/app.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 98085b2..8ae6ca5 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -18,8 +18,6 @@ export class MyApp { pages: Array<{ title: string, component: any }>; constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) { - this.initializeApp(); - // used for an example of ngFor and navigation this.pages = [ { title: 'Page One', component: Page1 },