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

@ -136,7 +136,9 @@ class CameraPage extends StatelessWidget {
}
if (destinationController.isAtGoal.value &&
destinationController.isInRog.value) {
destinationController.isInRog.value &&
destination.cp == -1) {
//goal
return Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
@ -210,6 +212,7 @@ class CameraPage extends StatelessWidget {
);
} else if (destinationController.isInRog.value &&
dbDest?.checkedin != null &&
destination.cp != -1 &&
dbDest?.checkedin == true) {
//make buypoint image
return Row(