diff --git a/lib/pages/destination/destination_controller.dart b/lib/pages/destination/destination_controller.dart index a824c4e..9e467e8 100644 --- a/lib/pages/destination/destination_controller.dart +++ b/lib/pages/destination/destination_controller.dart @@ -151,6 +151,7 @@ class DestinationController extends GetxController { } if(is_photo_shoot.value == true){ + photos.clear(); showModalBottomSheet(context: Get.context!, isScrollControlled: true, builder:((context) => CameraPage()) ).whenComplete((){ @@ -214,6 +215,7 @@ class DestinationController extends GetxController { if(d.hidden_location != null && d.hidden_location == 0 && is_in_rog.value == true && d.cp != -1){ chekcs = 3; is_in_checkin.value = true; + photos.clear(); showModalBottomSheet(context: Get.context!, isScrollControlled: true, builder:((context) => CameraPage()) ).whenComplete((){ @@ -258,6 +260,7 @@ class DestinationController extends GetxController { print("---- in goal -----"); chekcs = 5; is_at_goal.value = true; + photos.clear(); showModalBottomSheet(context: Get.context!, isScrollControlled: true, builder:((context) => CameraPage()) ).whenComplete((){