reverted
This commit is contained in:
@ -109,7 +109,7 @@ class IndexController extends GetxController {
|
||||
break;
|
||||
default:
|
||||
{
|
||||
rogMode.value = 0;
|
||||
rogMode.value = 1;
|
||||
Get.toNamed(AppPages.INDEX);
|
||||
}
|
||||
}
|
||||
@ -268,6 +268,7 @@ class IndexController extends GetxController {
|
||||
} else {
|
||||
rogMode.value = 1;
|
||||
}
|
||||
print('--- c rog mode --- ${rogMode.value}');
|
||||
Get.toNamed(AppPages.INDEX);
|
||||
}
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ class LocationService {
|
||||
'$serverUrl/api/inbound?ln1=$lon1&la1=$lat1&ln2=$lon2&la2=$lat2&ln3=$lon3&la3=$lat3&ln4=$lon4&la4=$lat4';
|
||||
}
|
||||
}
|
||||
//print('++++++++$url');
|
||||
print('++++++++$url');
|
||||
final response = await http.get(
|
||||
Uri.parse(url),
|
||||
headers: <String, String>{
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
import 'dart:ffi';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:geojson/geojson.dart';
|
||||
import 'package:geolocator/geolocator.dart';
|
||||
@ -105,7 +107,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
destinationController.skipGps = true;
|
||||
//print('---- rog_mode ----- ${indexController.rog_mode} -----');
|
||||
// print('--- c use --- ${indexController.currentUser[0].values}');
|
||||
// print('---- rog_mode ----- ${indexController.rogMode.value} -----');
|
||||
return indexController.rogMode.value == 0
|
||||
? detailsSheet(context)
|
||||
: destinationSheet(context);
|
||||
@ -403,8 +406,9 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
child: Obx(() => Text(
|
||||
indexController
|
||||
.currentFeature[0].properties!["location_name"],
|
||||
"${TextUtils.getDisplayTextFeture(indexController.currentFeature[0])} : ${indexController.currentFeature[0].properties!["location_name"]}",
|
||||
// indexController
|
||||
// .currentFeature[0].properties!["location_name"],
|
||||
style: const TextStyle(
|
||||
fontSize: 15.0,
|
||||
fontWeight: FontWeight.bold,
|
||||
|
||||
Reference in New Issue
Block a user