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(); }