updated camera back button and text

This commit is contained in:
Mohamed Nouffer
2023-01-26 23:30:48 +05:30
parent 03b586651d
commit 65dc5309d6
4 changed files with 24 additions and 4 deletions

View File

@ -42,6 +42,8 @@ class DestinationController extends GetxController {
double current_lat = 0.0;
double current_lon = 0.0;
bool skip_10s = false;
List<Destination> currentSelectedDestinations = <Destination>[].obs;
var is_in_checkin = false.obs;
@ -254,7 +256,7 @@ class DestinationController extends GetxController {
print("--- at goal ${is_at_goal} ---");
print("--- rog counted ${rogaining_counted} ---");
print("--- loc already checked in ${location_already_checked_in} ---");
if(isUser_logged_in && d.cp == -1 && location_already_checked_in){
if(isUser_logged_in && d.cp == -1 && location_already_checked_in && skip_10s == false){
//check for rogaining
if(is_at_goal.value == false && rogaining_counted.value){
//goal