gps photoe

This commit is contained in:
Mohamed Nouffer
2023-01-25 10:27:49 +05:30
parent 9d2736e53d
commit 93461da863

View File

@ -151,6 +151,7 @@ class DestinationController extends GetxController {
} }
if(is_photo_shoot.value == true){ if(is_photo_shoot.value == true){
photos.clear();
showModalBottomSheet(context: Get.context!, isScrollControlled: true, showModalBottomSheet(context: Get.context!, isScrollControlled: true,
builder:((context) => CameraPage()) builder:((context) => CameraPage())
).whenComplete((){ ).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){ if(d.hidden_location != null && d.hidden_location == 0 && is_in_rog.value == true && d.cp != -1){
chekcs = 3; chekcs = 3;
is_in_checkin.value = true; is_in_checkin.value = true;
photos.clear();
showModalBottomSheet(context: Get.context!, isScrollControlled: true, showModalBottomSheet(context: Get.context!, isScrollControlled: true,
builder:((context) => CameraPage()) builder:((context) => CameraPage())
).whenComplete((){ ).whenComplete((){
@ -258,6 +260,7 @@ class DestinationController extends GetxController {
print("---- in goal -----"); print("---- in goal -----");
chekcs = 5; chekcs = 5;
is_at_goal.value = true; is_at_goal.value = true;
photos.clear();
showModalBottomSheet(context: Get.context!, isScrollControlled: true, showModalBottomSheet(context: Get.context!, isScrollControlled: true,
builder:((context) => CameraPage()) builder:((context) => CameraPage())
).whenComplete((){ ).whenComplete((){