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 { SplashScreen } from '@ionic-native/splash-screen';
|
||||||
import {
|
import {
|
||||||
HomePage,
|
HomePage,
|
||||||
BlocksPage,
|
BlocksPage
|
||||||
BroadcastTxPage
|
// BroadcastTxPage
|
||||||
// NodeStatusPage,
|
// NodeStatusPage,
|
||||||
// VerifyMessagePage
|
// VerifyMessagePage
|
||||||
} from '../pages';
|
} from '../pages';
|
||||||
@ -42,7 +42,7 @@ export class InsightApp {
|
|||||||
this.pages = [
|
this.pages = [
|
||||||
{ title: 'Home', component: HomePage },
|
{ title: 'Home', component: HomePage },
|
||||||
{ title: 'Blocks', component: BlocksPage },
|
{ title: 'Blocks', component: BlocksPage },
|
||||||
{ title: 'Broadcast Transaction', component: BroadcastTxPage }
|
{ title: 'Broadcast Transaction', component: 'BroadcastTxPage' }
|
||||||
// { title: 'Verify Signed Message', component: VerifyMessagePage },
|
// { title: 'Verify Signed Message', component: VerifyMessagePage },
|
||||||
// { title: 'Node Status', component: NodeStatusPage }
|
// { title: 'Node Status', component: NodeStatusPage }
|
||||||
];
|
];
|
||||||
|
|||||||
@ -19,9 +19,7 @@ import { BlocksProvider } from '../providers/blocks/blocks';
|
|||||||
BrowserModule,
|
BrowserModule,
|
||||||
HttpModule,
|
HttpModule,
|
||||||
PagesModule,
|
PagesModule,
|
||||||
IonicModule.forRoot(InsightApp, {
|
IonicModule.forRoot(InsightApp)
|
||||||
locationStrategy: 'path'
|
|
||||||
})
|
|
||||||
],
|
],
|
||||||
bootstrap: [IonicApp],
|
bootstrap: [IonicApp],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import { Component, NgZone, Input } from '@angular/core';
|
import { Component, NgZone, Input } from '@angular/core';
|
||||||
import { BlocksProvider } from '../../providers/blocks/blocks';
|
import { BlocksProvider } from '../../providers/blocks/blocks';
|
||||||
import { NavController } from 'ionic-angular';
|
import { NavController } from 'ionic-angular';
|
||||||
import { BlocksPage } from '../../pages';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated class for the LatestBlocksComponent component.
|
* Generated class for the LatestBlocksComponent component.
|
||||||
@ -63,7 +62,7 @@ export class LatestBlocksComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public goToBlocks(): void {
|
public goToBlocks(): void {
|
||||||
this.navCtrl.push(BlocksPage);
|
this.navCtrl.push('blocks');
|
||||||
}
|
}
|
||||||
|
|
||||||
private ngOnDestroy(): void {
|
private ngOnDestroy(): void {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user