disabled auto popup for cp zero
This commit is contained in:
@ -208,6 +208,7 @@ class DestinationController extends GetxController {
|
||||
isAtStart.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.85)),
|
||||
@ -230,6 +231,7 @@ class DestinationController extends GetxController {
|
||||
isInCheckin.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -277,6 +279,7 @@ class DestinationController extends GetxController {
|
||||
// print("--- calling checkin ---");
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -298,6 +301,7 @@ class DestinationController extends GetxController {
|
||||
isInCheckin.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showMaterialModalBottomSheet(
|
||||
expand: true,
|
||||
context: Get.context!,
|
||||
@ -327,6 +331,7 @@ class DestinationController extends GetxController {
|
||||
//print("--- open buy point $buyPointImageAdded ${d.buypoint_image} ----");
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -365,6 +370,7 @@ class DestinationController extends GetxController {
|
||||
photos.clear();
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
@ -389,6 +395,7 @@ class DestinationController extends GetxController {
|
||||
isAtStart.value = true;
|
||||
if (shouldShowBottomSheet) {
|
||||
shouldShowBottomSheet = false;
|
||||
if (d.cp == 0) return;
|
||||
await showModalBottomSheet(
|
||||
constraints:
|
||||
BoxConstraints.loose(Size(Get.width, Get.height * 0.75)),
|
||||
|
||||
Reference in New Issue
Block a user