From 720dd149a9c20d9c0427ff76dc1e21993afe26b0 Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Thu, 7 Sep 2023 16:18:19 +0530 Subject: [PATCH] fixed forced start --- lib/widgets/bottom_sheet_new.dart | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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