fixed forced start

This commit is contained in:
Mohamed Nouffer
2023-09-07 16:18:19 +05:30
parent 44a3fc21fb
commit 720dd149a9
2 changed files with 3 additions and 3 deletions

View File

@ -543,13 +543,13 @@ class BottomSheetNew extends GetView<BottomSheetController> {
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());

View File

@ -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