updated cp start back to minus one and auto center timer to 10 sec
This commit is contained in:
@ -180,6 +180,7 @@ class DestinationController extends GetxController {
|
||||
photos.clear();
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -208,7 +209,7 @@ class DestinationController extends GetxController {
|
||||
isAtStart.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.85)),
|
||||
@ -231,7 +232,7 @@ class DestinationController extends GetxController {
|
||||
isInCheckin.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -279,7 +280,7 @@ class DestinationController extends GetxController {
|
||||
// print("--- calling checkin ---");
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -301,7 +302,7 @@ class DestinationController extends GetxController {
|
||||
isInCheckin.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showMaterialModalBottomSheet(
|
||||
expand: true,
|
||||
context: Get.context!,
|
||||
@ -331,7 +332,7 @@ class DestinationController extends GetxController {
|
||||
//print("--- open buy point $buyPointImageAdded ${d.buypoint_image} ----");
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -370,7 +371,7 @@ class DestinationController extends GetxController {
|
||||
photos.clear();
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -395,7 +396,7 @@ class DestinationController extends GetxController {
|
||||
isAtStart.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
if (d.cp == -1) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
|
||||
Reference in New Issue
Block a user