|
|
|
@ -206,6 +206,7 @@ class _TodayAttendanceScreenState extends State<TodayAttendanceScreen> {
|
|
|
|
if (isWifiEnabled)
|
|
|
|
if (isWifiEnabled)
|
|
|
|
attendanceMethod("Wifi", "assets/images/wufu.svg", isWifiEnabled, () {
|
|
|
|
attendanceMethod("Wifi", "assets/images/wufu.svg", isWifiEnabled, () {
|
|
|
|
if (isWifiLocationEnabled) {
|
|
|
|
if (isWifiLocationEnabled) {
|
|
|
|
|
|
|
|
|
|
|
|
Location.getCurrentLocation((LatLng? latlng) {
|
|
|
|
Location.getCurrentLocation((LatLng? latlng) {
|
|
|
|
performWifiAttendance(model, lat: latlng?.latitude.toString() ?? "", lng: latlng?.longitude.toString() ?? "");
|
|
|
|
performWifiAttendance(model, lat: latlng?.latitude.toString() ?? "", lng: latlng?.longitude.toString() ?? "");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|