change push to use deeplink strings
This commit is contained in:
parent
31de1cb133
commit
c88671d284
@ -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 }
|
||||
];
|
||||
|
||||
@ -19,9 +19,7 @@ import { BlocksProvider } from '../providers/blocks/blocks';
|
||||
BrowserModule,
|
||||
HttpModule,
|
||||
PagesModule,
|
||||
IonicModule.forRoot(InsightApp, {
|
||||
locationStrategy: 'path'
|
||||
})
|
||||
IonicModule.forRoot(InsightApp)
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user