fix text display issue
This commit is contained in:
@ -94,7 +94,7 @@ class CameraPage extends StatelessWidget {
|
||||
primary: Colors.red
|
||||
),
|
||||
onPressed: (){
|
||||
|
||||
print("##### current destination ${indexController.currentDestinationFeature[0].sub_loc_id} #######");
|
||||
destinationController.makeCheckin(indexController.currentDestinationFeature[0], true, destinationController.photos[0].path);
|
||||
Get.back();
|
||||
destinationController.rogaining_counted.value = true;
|
||||
|
||||
@ -206,6 +206,7 @@ class DestinationController extends GetxController {
|
||||
if(checkin_radious >= distance && location_already_checked_in == false && is_in_rog.value == true){
|
||||
if(auto_checkin){
|
||||
if(!checking_in){
|
||||
print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ make checkin ${d.sub_loc_id}@@@@@@@@@@@");
|
||||
makeCheckin(d, true,"");
|
||||
if(d.cp != -1){
|
||||
rogaining_counted.value =true;
|
||||
@ -369,7 +370,7 @@ class DestinationController extends GetxController {
|
||||
|
||||
for(final d in destinations){
|
||||
|
||||
print("--- check checkin for--loc_id- ${d.location_id}----");
|
||||
print("--- check checkin for--loc_id- ${d.sub_loc_id}----");
|
||||
|
||||
double lat = d.lat!;
|
||||
double lon = d.lon!;
|
||||
@ -430,7 +431,7 @@ class DestinationController extends GetxController {
|
||||
}
|
||||
|
||||
void makeCheckin(Destination destination, bool action, String imageurl) async {
|
||||
//print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ressssss ${action}@@@@@@@@@@@");
|
||||
print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ressssss ${destination.sub_loc_id}@@@@@@@@@@@");
|
||||
DatabaseHelper db = DatabaseHelper.instance;
|
||||
List<Destination> ddd = await db.getDestinationByLatLon(destination.lat!, destination.lon!);
|
||||
|
||||
|
||||
@ -193,7 +193,7 @@ class DestnationPage extends StatelessWidget {
|
||||
if(destinationController.is_gps_selected.value){
|
||||
destinationController.chekcs = 0;
|
||||
destinationController.skip_gps = false;
|
||||
destinationController.resetRogaining();
|
||||
//destinationController.resetRogaining();
|
||||
}
|
||||
},
|
||||
isSelected: [destinationController.is_gps_selected.value],
|
||||
|
||||
Reference in New Issue
Block a user