From cee1d0e6c2da2cb730aff592681de2e733951211 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Tue, 17 Aug 2021 16:12:05 +0300 Subject: [PATCH] fixed wifi issue --- .../attendance-options.component.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Mohem/src/app/home/attendance-options/attendance-options.component.ts b/Mohem/src/app/home/attendance-options/attendance-options.component.ts index a52d2842..198a0c87 100644 --- a/Mohem/src/app/home/attendance-options/attendance-options.component.ts +++ b/Mohem/src/app/home/attendance-options/attendance-options.component.ts @@ -263,17 +263,16 @@ export class AttendanceOptionsComponent implements OnInit { }); return; } - - // opening wifi dailog if all above conditions are passed (isWifiEnabled == true) - let modal = await this.modalController.create({ - component: WifiModalComponent, - showBackdrop: true, - backdropDismiss: false, - componentProps:{ enableLocationWIFI: this.enableLocationWIFI, lat: this.lat, longt: this.longt}, - }); - modal.cssClass = "wifi-modal"; - await modal.present(); } + // opening wifi dailog if all above conditions are passed (isWifiEnabled == true) + let modal = await this.modalController.create({ + component: WifiModalComponent, + showBackdrop: true, + backdropDismiss: false, + componentProps:{ enableLocationWIFI: this.enableLocationWIFI, lat: this.lat, longt: this.longt}, + }); + modal.cssClass = "wifi-modal"; + await modal.present(); }