diff --git a/Mohem/src/app/authentication/sms-page/sms-page.page.ts b/Mohem/src/app/authentication/sms-page/sms-page.page.ts index 631dcd70..f5fffbc7 100644 --- a/Mohem/src/app/authentication/sms-page/sms-page.page.ts +++ b/Mohem/src/app/authentication/sms-page/sms-page.page.ts @@ -62,6 +62,8 @@ export class SmsPageComponent implements OnInit { ngOnInit() { this.activeType=this.common.getActiveTypeLogin(); + console.log("active "+ this.common.sharedService.getSharedData('active-type',true)); + console.log("activeType :"+this.activeType); this.count = 0; this.initTimer(); @@ -178,6 +180,7 @@ export class SmsPageComponent implements OnInit { if (this.platform.is('cordova')) { this.insertMobileLogin(); } + this.activeType =this.common.setActiveTypeLogin(0); this.common.openHome(); }); }