update for checkin radius
This commit is contained in:
@ -161,7 +161,7 @@ class DestinationController extends GetxController {
|
|||||||
//make current destination
|
//make current destination
|
||||||
// print("---- checkin_radious $checkinRadious ----");
|
// print("---- checkin_radious $checkinRadious ----");
|
||||||
// print("---- distance $distance ----");
|
// print("---- distance $distance ----");
|
||||||
if (checkinRadious >= distance) {
|
if (checkinRadious >= distance || checkinRadious == -1) {
|
||||||
//currentSelectedDestinations.add(d);
|
//currentSelectedDestinations.add(d);
|
||||||
indexController.currentDestinationFeature.clear();
|
indexController.currentDestinationFeature.clear();
|
||||||
indexController.currentDestinationFeature.add(d);
|
indexController.currentDestinationFeature.add(d);
|
||||||
@ -247,7 +247,7 @@ class DestinationController extends GetxController {
|
|||||||
|
|
||||||
// print("---- location checkin radious ${d.checkin_radious} ----");
|
// print("---- location checkin radious ${d.checkin_radious} ----");
|
||||||
// print("---- already checked in $locationAlreadyCheckedIn ----");
|
// print("---- already checked in $locationAlreadyCheckedIn ----");
|
||||||
if (checkinRadious >= distance &&
|
if ((checkinRadious >= distance || checkinRadious == -1) &&
|
||||||
locationAlreadyCheckedIn == false &&
|
locationAlreadyCheckedIn == false &&
|
||||||
isInRog.value == true) {
|
isInRog.value == true) {
|
||||||
if (autoCheckin) {
|
if (autoCheckin) {
|
||||||
@ -311,7 +311,7 @@ class DestinationController extends GetxController {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (checkinRadious >= distance &&
|
} else if ((checkinRadious >= distance || checkinRadious == -1) &&
|
||||||
locationAlreadyCheckedIn == true &&
|
locationAlreadyCheckedIn == true &&
|
||||||
buyPointImageAdded == false &&
|
buyPointImageAdded == false &&
|
||||||
ds.isNotEmpty &&
|
ds.isNotEmpty &&
|
||||||
|
|||||||
@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.0.26+26
|
version: 1.0.28+28
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.1.0 <4.0.0"
|
sdk: ">=3.1.0 <4.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user