fixed start issue
This commit is contained in:
@ -109,9 +109,10 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
destinationController.skipGps = true;
|
||||
// print('--- c use --- ${indexController.currentUser[0].values}');
|
||||
// print('---- rog_mode ----- ${indexController.rogMode.value} -----');
|
||||
return indexController.rogMode.value == 0
|
||||
? detailsSheet(context)
|
||||
: destinationSheet(context);
|
||||
// return indexController.rogMode.value == 0
|
||||
// ? detailsSheet(context)
|
||||
// : destinationSheet(context);
|
||||
return detailsSheet(context);
|
||||
}
|
||||
|
||||
// Show destination detais
|
||||
@ -480,32 +481,44 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
// : "間違った目的地..."))
|
||||
// : Container(),
|
||||
// ),
|
||||
Obx(
|
||||
() => destinationController.rogainingCounted.value ==
|
||||
true &&
|
||||
destination.cp == -1 &&
|
||||
destinationController.distanceToStart() <= 500
|
||||
? ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AppPages.CAMERA_PAGE);
|
||||
Get.back();
|
||||
},
|
||||
child: Text(
|
||||
//goal
|
||||
indexController
|
||||
.currentDestinationFeature[
|
||||
0]
|
||||
.checkedin !=
|
||||
null ||
|
||||
indexController
|
||||
.currentDestinationFeature[
|
||||
0]
|
||||
.checkedin ==
|
||||
true
|
||||
? "ロゲイニングを終える"
|
||||
: "間違った目的地 ..."))
|
||||
: Container(),
|
||||
),
|
||||
|
||||
destinationController.rogainingCounted.value == true &&
|
||||
destination.cp == -1 &&
|
||||
destinationController.distanceToStart() <= 500
|
||||
? ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AppPages.CAMERA_PAGE);
|
||||
Get.back();
|
||||
},
|
||||
child: Text("ロゲイニングを終える"))
|
||||
: Container(),
|
||||
|
||||
// Obx(
|
||||
// () => destinationController.rogainingCounted.value ==
|
||||
// false &&
|
||||
// destination.cp == -1 &&
|
||||
// destinationController.distanceToStart() <= 500
|
||||
// ? ElevatedButton(
|
||||
// onPressed: () {
|
||||
// Get.toNamed(AppPages.CAMERA_PAGE);
|
||||
// Get.back();
|
||||
// },
|
||||
// child: Text(
|
||||
// //goal
|
||||
// indexController
|
||||
// .currentDestinationFeature[
|
||||
// 0]
|
||||
// .checkedin !=
|
||||
// null ||
|
||||
// indexController
|
||||
// .currentDestinationFeature[
|
||||
// 0]
|
||||
// .checkedin ==
|
||||
// true
|
||||
// ? "ロゲイニングを終える"
|
||||
// : "間違った目的地 ..."))
|
||||
// : Container(),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
@ -555,8 +568,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
distanceToDest <=
|
||||
destinationController
|
||||
.getForcedChckinDistance(destination) &&
|
||||
destinationController.isInCheckin.value ==
|
||||
true &&
|
||||
// destinationController.isInCheckin.value ==
|
||||
// true &&
|
||||
destinationController.rogainingCounted.value ==
|
||||
false
|
||||
? ElevatedButton(
|
||||
|
||||
Reference in New Issue
Block a user