From 7d34c307f24ee6178b9afe9582ebcc54c123ca23 Mon Sep 17 00:00:00 2001 From: DAB0mB Date: Mon, 6 Feb 2017 23:34:34 -0200 Subject: [PATCH] Step 2.4: Use the chats page as the main root page --- client/imports/app/app.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/imports/app/app.component.ts b/client/imports/app/app.component.ts index 8725ca7..7ae35c7 100644 --- a/client/imports/app/app.component.ts +++ b/client/imports/app/app.component.ts @@ -1,12 +1,15 @@ import { Component } from '@angular/core'; import { Platform } from 'ionic-angular'; import { StatusBar, Splashscreen } from 'ionic-native'; +import { ChatsPage } from '../pages/chats/chats'; import template from "./app.html"; @Component({ template }) export class MyApp { + rootPage = ChatsPage; + constructor(platform: Platform) { platform.ready().then(() => { // Okay, so the platform is ready and our plugins are available.