From c88671d284e1f41606e12d79308a76027d05f864 Mon Sep 17 00:00:00 2001 From: Darren Nelsen Date: Fri, 18 May 2018 14:01:35 -0400 Subject: [PATCH] change push to use deeplink strings --- app/src/app/app.component.ts | 6 +++--- app/src/app/app.module.ts | 4 +--- app/src/components/latest-blocks/latest-blocks.ts | 3 +-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/app/src/app/app.component.ts b/app/src/app/app.component.ts index 9b683c0..63f221b 100644 --- a/app/src/app/app.component.ts +++ b/app/src/app/app.component.ts @@ -4,8 +4,8 @@ import { StatusBar } from '@ionic-native/status-bar'; import { SplashScreen } from '@ionic-native/splash-screen'; import { HomePage, - BlocksPage, - BroadcastTxPage + BlocksPage + // BroadcastTxPage // NodeStatusPage, // VerifyMessagePage } from '../pages'; @@ -42,7 +42,7 @@ export class InsightApp { this.pages = [ { title: 'Home', component: HomePage }, { title: 'Blocks', component: BlocksPage }, - { title: 'Broadcast Transaction', component: BroadcastTxPage } + { title: 'Broadcast Transaction', component: 'BroadcastTxPage' } // { title: 'Verify Signed Message', component: VerifyMessagePage }, // { title: 'Node Status', component: NodeStatusPage } ]; diff --git a/app/src/app/app.module.ts b/app/src/app/app.module.ts index 6fbefc7..f3b2050 100644 --- a/app/src/app/app.module.ts +++ b/app/src/app/app.module.ts @@ -19,9 +19,7 @@ import { BlocksProvider } from '../providers/blocks/blocks'; BrowserModule, HttpModule, PagesModule, - IonicModule.forRoot(InsightApp, { - locationStrategy: 'path' - }) + IonicModule.forRoot(InsightApp) ], bootstrap: [IonicApp], entryComponents: [ diff --git a/app/src/components/latest-blocks/latest-blocks.ts b/app/src/components/latest-blocks/latest-blocks.ts index ed65f6c..c38720e 100644 --- a/app/src/components/latest-blocks/latest-blocks.ts +++ b/app/src/components/latest-blocks/latest-blocks.ts @@ -1,7 +1,6 @@ import { Component, NgZone, Input } from '@angular/core'; import { BlocksProvider } from '../../providers/blocks/blocks'; import { NavController } from 'ionic-angular'; -import { BlocksPage } from '../../pages'; /** * Generated class for the LatestBlocksComponent component. @@ -63,7 +62,7 @@ export class LatestBlocksComponent { } public goToBlocks(): void { - this.navCtrl.push(BlocksPage); + this.navCtrl.push('blocks'); } private ngOnDestroy(): void {