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;