From 2844611f075b055fb31597e8cb373cb00c74d90a Mon Sep 17 00:00:00 2001 From: zsw Date: Sat, 20 Jul 2024 11:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E5=8A=A0?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E7=BD=AE=E9=A1=B6=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Runner.xcodeproj/project.pbxproj | 6 +++--- lib/store/shop_details_page.dart | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index f8a7c9f0..417e53a4 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -653,7 +653,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 3.2.30; + MARKETING_VERSION = 3.2.31; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -857,7 +857,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 3.2.30; + MARKETING_VERSION = 3.2.31; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -947,7 +947,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 3.2.30; + MARKETING_VERSION = 3.2.31; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", diff --git a/lib/store/shop_details_page.dart b/lib/store/shop_details_page.dart index b3b757a2..8c1d3a57 100644 --- a/lib/store/shop_details_page.dart +++ b/lib/store/shop_details_page.dart @@ -74,11 +74,11 @@ class _ShopDetailsPage extends State { storeId = widget.arguments["storeId"]; isSetMeal = widget.arguments["isSetMeal"] ?? false; scrollController.addListener(() { - if(scIndex == 0 && scrollController.offset > 400){ + if(scIndex == 0 && scrollController.offset > (MediaQuery.of(context).size.height >= 750 ? 392.h : 400.h)){ setState(() { scIndex = 1; }); - }else if(scIndex == 1 && scrollController.offset <= 400){ + }else if(scIndex == 1 && scrollController.offset <= (MediaQuery.of(context).size.height >= 750 ? 392.h : 400.h)){ setState(() { scIndex = 0; });