update popup conditions

This commit is contained in:
2024-03-08 15:31:49 +05:30
parent f5922d9034
commit cb3a843566
3 changed files with 10 additions and 6 deletions

View File

@ -205,12 +205,11 @@ class BottomSheetNew extends GetView<BottomSheetController> {
barrierDismissible:
false, // User must tap a button to close the dialog
);
} else if (destinationController.isInRog.value == true) {
} else if (destinationController.isInRog.value == true &&
destination.cp != -1) {
//print("counted ${destinationController.rogainingCounted.value}");
// Existing logic for other conditions
if (destination.cp == -1) {
return;
}
Get.back();
await destinationController.callforCheckin(destination);
} else {