diff --git a/Mohem/src/app/home/home.page.html b/Mohem/src/app/home/home.page.html
index 2c746a9d..966f2f73 100644
--- a/Mohem/src/app/home/home.page.html
+++ b/Mohem/src/app/home/home.page.html
@@ -7,7 +7,7 @@
-
+
-
+
{{'general,other-services' | translate}}
diff --git a/Mohem/src/app/home/home.page.ts b/Mohem/src/app/home/home.page.ts
index a6dfbe2f..9f0100b5 100644
--- a/Mohem/src/app/home/home.page.ts
+++ b/Mohem/src/app/home/home.page.ts
@@ -103,10 +103,7 @@ export class HomePage implements OnInit {
}
];
- public slideOptsOne = {
- slidesPerView: 3.5,
- spaceBetween: 10
- };
+ public slideOptsOne = {};
public slideOptsTwo = {};
public runTimer = false;
@@ -131,6 +128,7 @@ export class HomePage implements OnInit {
public vacationRuleIcon: string;
direction: string;
public isPostNoLoad = true;
+ public showStaticServices = false;
constructor(
public ts: TranslatorService,
@@ -188,17 +186,21 @@ export class HomePage implements OnInit {
}
}
- public slideSettings() {
+ public slideSettingsTwo() {
const width = this.platform.width();
- console.log('enad testing: ' + width);
+ this.slideOptsOne = {
+ slidesPerView: width > 320 ? 3.5 : 3,
+ spaceBetween: 10
+ };
this.slideOptsTwo = {
slidesPerView: width > 320 ? 3.2 : 2.5,
- spaceBetween: 10
+ spaceBetween: width > 320 ? 10 : 5
};
+ this.showStaticServices = true;
}
ionViewWillEnter() {
this.common.startLoading();
- this.slideSettings();
+ this.slideSettingsTwo();
this.common.sharedService.setSharedData(true, 'loadWorkList');
this.remainingTime = 0;
this.displayTime = '00:00:00';