update logs

This commit is contained in:
Mohamed Nouffer
2023-09-21 15:41:23 +05:30
parent 4db56e9c0f
commit 7fdb6c05ee
6 changed files with 22 additions and 7 deletions

View File

@ -451,6 +451,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
? ElevatedButton(
onPressed: () async {
await destinationController.resetRogaining();
print("~~~~ start button ~~~~");
destinationController.is_in_rog.value =
true;
destinationController.addToRogaining(
@ -561,6 +562,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
backgroundColor:
Theme.of(context).colorScheme.secondary),
onPressed: () async {
print("~~~~ manual checkin button ~~~~");
if (destination.cp == -1) {
destinationController.is_in_rog.value = true;
destinationController.addToRogaining(
@ -908,6 +910,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
onPressed: () async {
Destination dest =
indexController.currentDestinationFeature[0];
print("~~~~ before checking button ~~~~");
//print("------ curent destination is ${dest!.checkedIn}-------");
destinationController.makeCheckin(
dest, !dest.checkedin!, "");