fixed forced start
This commit is contained in:
@ -543,13 +543,13 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
|||||||
final Destination dd =
|
final Destination dd =
|
||||||
destinationController.festuretoDestination(
|
destinationController.festuretoDestination(
|
||||||
indexController.currentFeature[0]);
|
indexController.currentFeature[0]);
|
||||||
|
print("----- name of dest ${dd.name} ----");
|
||||||
if (dd.cp == -1) {
|
if (dd.cp == -1) {
|
||||||
destinationController.is_in_rog.value = true;
|
destinationController.is_in_rog.value = true;
|
||||||
destinationController.addToRogaining(
|
destinationController.addToRogaining(
|
||||||
destinationController.current_lat,
|
destinationController.current_lat,
|
||||||
destinationController.current_lon,
|
destinationController.current_lon,
|
||||||
indexController.currentDestinationFeature[0]
|
dd.location_id!);
|
||||||
.location_id!);
|
|
||||||
ExternalService()
|
ExternalService()
|
||||||
.StartRogaining()
|
.StartRogaining()
|
||||||
.then((value) => Get.back());
|
.then((value) => Get.back());
|
||||||
|
|||||||
@ -36,7 +36,7 @@ dependencies:
|
|||||||
cupertino_icons: ^1.0.2
|
cupertino_icons: ^1.0.2
|
||||||
sqflite: ^2.0.1
|
sqflite: ^2.0.1
|
||||||
get: ^4.6.5
|
get: ^4.6.5
|
||||||
flutter_map: any
|
flutter_map: ^4.0.0
|
||||||
geolocator: ^9.0.2
|
geolocator: ^9.0.2
|
||||||
permission_handler: ^10.0.0
|
permission_handler: ^10.0.0
|
||||||
google_api_availability: ^5.0.0
|
google_api_availability: ^5.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user