fixed gps page

This commit is contained in:
2023-11-22 23:06:38 +05:30
parent 4e4cfda40b
commit 23fde37e3d
6 changed files with 114 additions and 47 deletions

View File

@ -521,6 +521,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
isAlreadyCheckedIn == true && destination.cp != -1
? ElevatedButton(
onPressed: () async {
await destinationController
.removeCheckin(destination.cp!.toInt());
destinationController
.deleteDestination(destination);
Get.back();
@ -628,6 +630,9 @@ class BottomSheetNew extends GetView<BottomSheetController> {
.startRogaining()
.then((value) => Get.back());
} else {
if (destination.cp == -1) {
return;
}
Get.back();
await destinationController
.callforCheckin(destination);