From ac167aae53ff211d89d884e5a14aeab18ee202cd Mon Sep 17 00:00:00 2001 From: Sultan Khan Date: Sun, 20 Jun 2021 12:14:11 +0300 Subject: [PATCH] back button --- Mohem/src/app/home/home.page.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Mohem/src/app/home/home.page.ts b/Mohem/src/app/home/home.page.ts index 0bd553d1..da6e073c 100644 --- a/Mohem/src/app/home/home.page.ts +++ b/Mohem/src/app/home/home.page.ts @@ -169,11 +169,11 @@ export class HomePage implements OnInit { ngOnInit() { let openDigitalIDCard = this.sharedData.getSharedData("loginWithDigitalIDButton", true); - this.platform.backButton.subscribeWithPriority(9999, () => { - if (this.router.isActive('/home', true)) { - this.common.openHome(); - } - }); + // this.platform.backButton.subscribeWithPriority(9999, () => { + // if (this.router.isActive('/home', true)) { + // this.common.openHome(); + // } + // }); this.direction = TranslatorService.getCurrentLanguageName(); this.myTeamTitle = this.ts.trPK('myTeam', 'myTeam-header'); this.vacationRuleTitle = this.ts.trPK('vacation-rule', 'vacationRule');