fix text display issue
This commit is contained in:
@ -94,7 +94,7 @@ class CameraPage extends StatelessWidget {
|
|||||||
primary: Colors.red
|
primary: Colors.red
|
||||||
),
|
),
|
||||||
onPressed: (){
|
onPressed: (){
|
||||||
|
print("##### current destination ${indexController.currentDestinationFeature[0].sub_loc_id} #######");
|
||||||
destinationController.makeCheckin(indexController.currentDestinationFeature[0], true, destinationController.photos[0].path);
|
destinationController.makeCheckin(indexController.currentDestinationFeature[0], true, destinationController.photos[0].path);
|
||||||
Get.back();
|
Get.back();
|
||||||
destinationController.rogaining_counted.value = true;
|
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(checkin_radious >= distance && location_already_checked_in == false && is_in_rog.value == true){
|
||||||
if(auto_checkin){
|
if(auto_checkin){
|
||||||
if(!checking_in){
|
if(!checking_in){
|
||||||
|
print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ make checkin ${d.sub_loc_id}@@@@@@@@@@@");
|
||||||
makeCheckin(d, true,"");
|
makeCheckin(d, true,"");
|
||||||
if(d.cp != -1){
|
if(d.cp != -1){
|
||||||
rogaining_counted.value =true;
|
rogaining_counted.value =true;
|
||||||
@ -369,7 +370,7 @@ class DestinationController extends GetxController {
|
|||||||
|
|
||||||
for(final d in destinations){
|
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 lat = d.lat!;
|
||||||
double lon = d.lon!;
|
double lon = d.lon!;
|
||||||
@ -430,7 +431,7 @@ class DestinationController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void makeCheckin(Destination destination, bool action, String imageurl) async {
|
void makeCheckin(Destination destination, bool action, String imageurl) async {
|
||||||
//print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ressssss ${action}@@@@@@@@@@@");
|
print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ressssss ${destination.sub_loc_id}@@@@@@@@@@@");
|
||||||
DatabaseHelper db = DatabaseHelper.instance;
|
DatabaseHelper db = DatabaseHelper.instance;
|
||||||
List<Destination> ddd = await db.getDestinationByLatLon(destination.lat!, destination.lon!);
|
List<Destination> ddd = await db.getDestinationByLatLon(destination.lat!, destination.lon!);
|
||||||
|
|
||||||
|
|||||||
@ -193,7 +193,7 @@ class DestnationPage extends StatelessWidget {
|
|||||||
if(destinationController.is_gps_selected.value){
|
if(destinationController.is_gps_selected.value){
|
||||||
destinationController.chekcs = 0;
|
destinationController.chekcs = 0;
|
||||||
destinationController.skip_gps = false;
|
destinationController.skip_gps = false;
|
||||||
destinationController.resetRogaining();
|
//destinationController.resetRogaining();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isSelected: [destinationController.is_gps_selected.value],
|
isSelected: [destinationController.is_gps_selected.value],
|
||||||
|
|||||||
@ -28,7 +28,7 @@ class TextUtils{
|
|||||||
}
|
}
|
||||||
if(dp.buy_point != null && dp.buy_point! > 0){
|
if(dp.buy_point != null && dp.buy_point! > 0){
|
||||||
print("^^^^^^^^^ ${dp.sub_loc_id}^^^^^^^^^^");
|
print("^^^^^^^^^ ${dp.sub_loc_id}^^^^^^^^^^");
|
||||||
txt = "${dp.sub_loc_id}";
|
txt = "#${dp.cp.toString().replaceAll(regex, '')}(${dp.checkin_point.toString().replaceAll(regex, '')}+${dp.buy_point.toString().replaceAll(regex, '')})";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return txt;
|
return txt;
|
||||||
|
|||||||
@ -607,7 +607,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
|||||||
GeoJsonMultiPoint mp = indexController.currentFeature[0].geometry as GeoJsonMultiPoint;
|
GeoJsonMultiPoint mp = indexController.currentFeature[0].geometry as GeoJsonMultiPoint;
|
||||||
LatLng pt = LatLng(mp.geoSerie!.geoPoints[0].latitude, mp.geoSerie!.geoPoints[0].longitude);
|
LatLng pt = LatLng(mp.geoSerie!.geoPoints[0].latitude, mp.geoSerie!.geoPoints[0].longitude);
|
||||||
|
|
||||||
//print("----- ${indexController.currentFeature[0].properties} -----");
|
print("----- want to go sub location is ---- ${indexController.currentFeature[0].properties!["sub_loc_id"]} -----");
|
||||||
|
|
||||||
Destination dest = Destination(
|
Destination dest = Destination(
|
||||||
name: indexController.currentFeature[0].properties!["location_name"],
|
name: indexController.currentFeature[0].properties!["location_name"],
|
||||||
|
|||||||
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.0.9+9
|
version: 1.0.12+12
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.16.0 <3.0.0"
|
sdk: ">=2.16.0 <3.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user