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());