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 &&
|
||||
|
||||
@ -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.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.26+26
|
||||
version: 1.0.28+28
|
||||
|
||||
environment:
|
||||
sdk: ">=3.1.0 <4.0.0"
|
||||
|
||||
Reference in New Issue
Block a user