diff --git a/lib/widgets/bottom_sheet_new.dart b/lib/widgets/bottom_sheet_new.dart index b323cc8..0719d9b 100644 --- a/lib/widgets/bottom_sheet_new.dart +++ b/lib/widgets/bottom_sheet_new.dart @@ -543,13 +543,13 @@ class BottomSheetNew extends GetView { final Destination dd = destinationController.festuretoDestination( indexController.currentFeature[0]); + print("----- name of dest ${dd.name} ----"); if (dd.cp == -1) { destinationController.is_in_rog.value = true; destinationController.addToRogaining( destinationController.current_lat, destinationController.current_lon, - indexController.currentDestinationFeature[0] - .location_id!); + dd.location_id!); ExternalService() .StartRogaining() .then((value) => Get.back()); diff --git a/pubspec.yaml b/pubspec.yaml index fb51581..e332a07 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -36,7 +36,7 @@ dependencies: cupertino_icons: ^1.0.2 sqflite: ^2.0.1 get: ^4.6.5 - flutter_map: any + flutter_map: ^4.0.0 geolocator: ^9.0.2 permission_handler: ^10.0.0 google_api_availability: ^5.0.0