Skip to content

Commit

Permalink
Step 17.15: Redirect to FacebookPage from the VerificationPage
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Oct 16, 2017
1 parent 443616b commit d06f342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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',
Expand Down Expand Up @@ -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
});
})
Expand Down

0 comments on commit d06f342

Please sign in to comment.