master
ashwaq 6 years ago
parent 91b619c1b1
commit e7963509dc

@ -62,6 +62,8 @@ export class SmsPageComponent implements OnInit {
ngOnInit() { ngOnInit() {
this.activeType=this.common.getActiveTypeLogin(); this.activeType=this.common.getActiveTypeLogin();
console.log("active "+ this.common.sharedService.getSharedData('active-type',true));
console.log("activeType :"+this.activeType); console.log("activeType :"+this.activeType);
this.count = 0; this.count = 0;
this.initTimer(); this.initTimer();
@ -178,6 +180,7 @@ export class SmsPageComponent implements OnInit {
if (this.platform.is('cordova')) { if (this.platform.is('cordova')) {
this.insertMobileLogin(); this.insertMobileLogin();
} }
this.activeType =this.common.setActiveTypeLogin(0);
this.common.openHome(); this.common.openHome();
}); });
} }

Loading…
Cancel
Save