From 563c574e9cbd60867e6ba612a586b6826979fb89 Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Tue, 24 Jan 2023 14:59:56 +0530 Subject: [PATCH] update pop up --- .../destination/destination_controller.dart | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/pages/destination/destination_controller.dart b/lib/pages/destination/destination_controller.dart index f552b07..a5f32da 100644 --- a/lib/pages/destination/destination_controller.dart +++ b/lib/pages/destination/destination_controller.dart @@ -212,15 +212,16 @@ class DestinationController extends GetxController { print("--- hidden loc ${d.hidden_location} ----"); // ask for checkin if(d.hidden_location != null && d.hidden_location == 0 && is_in_rog.value == true && d.cp != -1){ - // chekcs = 3; - // is_in_checkin.value = true; - // showModalBottomSheet(context: Get.context!, isScrollControlled: true, - // builder:((context) => CameraPage()) - // ).whenComplete((){ - // skip_gps = false; - // chekcs = 0; - // is_in_checkin.value = false; - // }); + chekcs = 3; + is_in_checkin.value = true; + showModalBottomSheet(context: Get.context!, isScrollControlled: true, + builder:((context) => CameraPage()) + ).whenComplete((){ + skip_gps = false; + rogaining_counted.value =true; + chekcs = 0; + is_in_checkin.value = false; + }); } else if(is_in_rog.value == true && d.cp != -1){ chekcs = 4;