From 25f6a99372e59e463967c461f73ebb631b2a024b Mon Sep 17 00:00:00 2001 From: umasoodch Date: Mon, 4 Oct 2021 10:45:59 +0300 Subject: [PATCH] fixed scroll issue --- .../submit-absence/submit-absence.component.html | 4 ++-- Mohem/src/app/hmg-common/hmg_utils.ts | 10 +++++----- .../services/authentication/authentication.service.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Mohem/src/app/absence/submit-absence/submit-absence.component.html b/Mohem/src/app/absence/submit-absence/submit-absence.component.html index 3eead9c9..98bb9c31 100644 --- a/Mohem/src/app/absence/submit-absence/submit-absence.component.html +++ b/Mohem/src/app/absence/submit-absence/submit-absence.component.html @@ -3,7 +3,7 @@ [headerText]="'submitAbsence, submitAbsence' | translate"> - +
@@ -58,7 +58,7 @@
- +
{{ts.trPK('general','next')}} diff --git a/Mohem/src/app/hmg-common/hmg_utils.ts b/Mohem/src/app/hmg-common/hmg_utils.ts index 3c7c5b6c..d29b9946 100644 --- a/Mohem/src/app/hmg-common/hmg_utils.ts +++ b/Mohem/src/app/hmg-common/hmg_utils.ts @@ -75,11 +75,11 @@ export class HMGUtils { const long = Number(_res.split(',')[1]); const mockValue = _res.split(',')[2]; - if (mockValue == 'true') { - mock = true; - } else { - mock = false; - } + // if (mockValue == 'true') { + // mock = true; + // } else { + // mock = false; + // } callBack({"latitude":lat, "longitude":long, "isfake":mock}) } else { this.common.presentAlert(this.ts.trPK('general', 'invalid-huawei-location')); diff --git a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts index abf44f46..518f698b 100644 --- a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts +++ b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts @@ -142,7 +142,7 @@ export class AuthenticationService { } else { mobileType = 'android'; } - request.VersionID = 3; + request.VersionID = 3.1; request.Channel = 31; request.LanguageID = TranslatorService.getCurrentLanguageCode(); request.MobileType = mobileType;