Permalink
Browse files

Step 17.15: Redirect to FacebookPage from the VerificationPage

  • Loading branch information...
darkbasic committed Jun 9, 2017
1 parent 443616b commit d06f34261e949e98f7d1a7def644e7bc2709a3d4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pages/verification/verification.ts
@@ -1,7 +1,7 @@
import { AfterContentInit, Component, OnInit } from '@angular/core';
import { AlertController, NavController, NavParams } from 'ionic-angular';
import { PhoneService } from '../../services/phone';
import { ProfilePage } from '../profile/profile';
import { FacebookPage } from "../login/facebook";
@Component({
selector: 'verification',
@@ -43,7 +43,7 @@ export class VerificationPage implements OnInit, AfterContentInit {
verify(): void {
this.phoneService.login(this.phone, this.code).then(() => {
this.navCtrl.setRoot(ProfilePage, {}, {
this.navCtrl.setRoot(FacebookPage, {}, {
animate: true
});
})

0 comments on commit d06f342

Please sign in to comment.