update popup conditions
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user