update logs
This commit is contained in:
@ -189,6 +189,7 @@ class DestinationController extends GetxController {
|
||||
if (d.cp == -1 && DateTime.now().difference(last_goal_at).inHours >= 24) {
|
||||
chekcs = 1;
|
||||
//start
|
||||
print("~~~~ calling start ~~~~");
|
||||
print("---- in start -----");
|
||||
chekcs = 1;
|
||||
is_in_checkin.value = true;
|
||||
@ -656,6 +657,7 @@ class DestinationController extends GetxController {
|
||||
|
||||
Future<void> makeCheckin(
|
||||
Destination destination, bool action, String imageurl) async {
|
||||
print("~~~~ calling checkin function ~~~~");
|
||||
print(
|
||||
"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ressssss ${destination.sub_loc_id}@@@@@@@@@@@");
|
||||
DatabaseHelper db = DatabaseHelper.instance;
|
||||
@ -666,6 +668,7 @@ class DestinationController extends GetxController {
|
||||
destination.checkedin = true;
|
||||
destination.checkin_image = imageurl;
|
||||
await db.insertDestination(destination);
|
||||
print("~~~~ inserted into db ~~~~");
|
||||
}
|
||||
|
||||
await GallerySaver.saveImage(imageurl);
|
||||
|
||||
Reference in New Issue
Block a user