From 2e5751abfadb006e85ea5ca49f9a45a04fecdd4f Mon Sep 17 00:00:00 2001 From: lcy <2503978335@qq.com> Date: Thu, 13 Jul 2023 15:01:58 +0800 Subject: [PATCH] feat:更新版本号1.0.2 --- ios/Runner.xcodeproj/project.pbxproj | 6 +++--- lib/pages/home/widgets/home_vidoe_item.dart | 1 + lib/pages/user/user_page.dart | 17 +++++++---------- pubspec.yaml | 2 +- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 9a3db84..bfb6760 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -503,7 +503,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -688,7 +688,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -717,7 +717,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/lib/pages/home/widgets/home_vidoe_item.dart b/lib/pages/home/widgets/home_vidoe_item.dart index e502104..5917e54 100644 --- a/lib/pages/home/widgets/home_vidoe_item.dart +++ b/lib/pages/home/widgets/home_vidoe_item.dart @@ -56,6 +56,7 @@ class HomeVideoItem extends StatelessWidget { padding: EdgeInsets.symmetric(horizontal: 10.w), child: Text( lessons?.name??'', + maxLines: 1, style: TextStyle( fontSize: 25.sp, color: const Color(0xFF333333) diff --git a/lib/pages/user/user_page.dart b/lib/pages/user/user_page.dart index c6e14f7..55dfee2 100644 --- a/lib/pages/user/user_page.dart +++ b/lib/pages/user/user_page.dart @@ -124,17 +124,14 @@ class _UserView extends StatelessWidget { ) ], )), - Offstage( - offstage: UserUtil.getUser()?.phoneNum == '17730280759', - child: TextButton( - child: Text( - "修改个人信息>", - style: textStyle21sp, - ), - onPressed: () { - pushNamed(AppRouteName.userInformation); - }, + TextButton( + child: Text( + "修改个人信息>", + style: textStyle21sp, ), + onPressed: () { + pushNamed(AppRouteName.userInformation); + }, ) ], ), diff --git a/pubspec.yaml b/pubspec.yaml index 624ca21..9dc0754 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.1+1 +version: 1.0.2+1 environment: sdk: '>=3.0.0 <4.0.0' -- libgit2 0.22.2