fixed issues for release
This commit is contained in:
@ -675,13 +675,13 @@ class DestinationController extends GetxController {
|
||||
|
||||
Destination des = festuretoDestination(gfs);
|
||||
|
||||
//print("=== gfs == ${des.toMap()}");
|
||||
print("=== gfs == ${des.toMap()}");
|
||||
|
||||
double distanceToDest = double.infinity;
|
||||
var distance = const Distance();
|
||||
distanceToDest = distance.as(LengthUnit.Meter,
|
||||
LatLng(currentLat, currentLon), LatLng(des.lat!, des.lon!));
|
||||
//print("==== dist==${distanceToDest}");
|
||||
print("==== dist==${distanceToDest}");
|
||||
return distanceToDest;
|
||||
}
|
||||
|
||||
@ -936,6 +936,9 @@ class DestinationController extends GetxController {
|
||||
//print("-----populated----- ${d.toMap()}");
|
||||
destinations.add(d);
|
||||
}
|
||||
if (destinations.isEmpty) {
|
||||
rogainingCounted.value = false;
|
||||
}
|
||||
// destinationCount.value = 0;
|
||||
//print(
|
||||
// "------ destination controller destinationcount-------- $destinationCount-------- :::::");
|
||||
|
||||
Reference in New Issue
Block a user