update for checkin radius
This commit is contained in:
@ -161,7 +161,7 @@ class DestinationController extends GetxController {
|
||||
//make current destination
|
||||
// print("---- checkin_radious $checkinRadious ----");
|
||||
// print("---- distance $distance ----");
|
||||
if (checkinRadious >= distance) {
|
||||
if (checkinRadious >= distance || checkinRadious == -1) {
|
||||
//currentSelectedDestinations.add(d);
|
||||
indexController.currentDestinationFeature.clear();
|
||||
indexController.currentDestinationFeature.add(d);
|
||||
@ -247,7 +247,7 @@ class DestinationController extends GetxController {
|
||||
|
||||
// print("---- location checkin radious ${d.checkin_radious} ----");
|
||||
// print("---- already checked in $locationAlreadyCheckedIn ----");
|
||||
if (checkinRadious >= distance &&
|
||||
if ((checkinRadious >= distance || checkinRadious == -1) &&
|
||||
locationAlreadyCheckedIn == false &&
|
||||
isInRog.value == true) {
|
||||
if (autoCheckin) {
|
||||
@ -311,7 +311,7 @@ class DestinationController extends GetxController {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else if (checkinRadious >= distance &&
|
||||
} else if ((checkinRadious >= distance || checkinRadious == -1) &&
|
||||
locationAlreadyCheckedIn == true &&
|
||||
buyPointImageAdded == false &&
|
||||
ds.isNotEmpty &&
|
||||
|
||||
Reference in New Issue
Block a user