Browse Source

fix:优化恢复订购字体显示。

zhoukun 6 months ago
parent
commit
3998b92e6b

BIN
assets/images/icon_apple_recover_subscribe.png


+ 1 - 0
assets/string/base/string.xml

@@ -301,4 +301,5 @@
     <string name="dialog_location_permission_confirm_txt">去定位</string>
     <string name="dialog_location_always_permission_title">允许定位权限</string>
     <string name="dialog_location_always_permission_confirm_txt">去设置</string>
+    <string name="apple_recover_subscribe_txt">恢复订阅</string>
 </resources>

+ 8 - 8
ios/Podfile.lock

@@ -28,12 +28,12 @@ PODS:
     - FlutterMacOS
   - map_mapkit_ios (0.0.1):
     - Flutter
-  - MMKV (2.0.2):
-    - MMKVCore (~> 2.0.2)
-  - mmkv_ios (2.0.0):
+  - MMKV (2.2.2):
+    - MMKVCore (~> 2.2.2)
+  - mmkv_ios (2.2.2):
     - Flutter
-    - MMKV (< 2.1, >= 2.0.0)
-  - MMKVCore (2.0.2)
+    - MMKV (< 2.3, >= 2.2.2)
+  - MMKVCore (2.2.2)
   - OrderedSet (6.0.3)
   - package_info_plus (0.4.5):
     - Flutter
@@ -128,9 +128,9 @@ SPEC CHECKSUMS:
   gravity_engine: 9075091c4adcd0169506f97688ebac7f5454c4ac
   in_app_purchase_storekit: d1a48cb0f8b29dbf5f85f782f5dd79b21b90a5e6
   map_mapkit_ios: ca064ca09018af4608239db3d98b46cb2233e8b9
-  MMKV: 3eacda84cd1c4fc95cf848d3ecb69d85ed56006c
-  mmkv_ios: ea225e1659b4769b29f7ee110380de01b40a4baf
-  MMKVCore: 508b4d3a8ce031f1b5c8bd235f0517fb3f4c73a9
+  MMKV: b4802ebd5a7c68fc0c4a5ccb4926fbdfb62d68e0
+  mmkv_ios: b1c2c12115c0ff971534015f61aea8de18d8d126
+  MMKVCore: a255341a3746955f50da2ad9121b18cb2b346e61
   OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
   package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
   path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564

+ 1 - 1
lib/module/member/member_page.dart

@@ -445,7 +445,7 @@ class MemberPage extends BasePage<MemberController> {
               child: Row(
                 children: [
                   Assets.images.iconAppleRecoverSubscribe.image(width: 14.w,height: 14.w),
-                  Text('恢复订阅',
+                  Text(StringName.appleRecoverSubscribeTxt,
                       style: TextStyle(
                           fontSize: 12.sp,
                           color: ColorName.white,

+ 2 - 0
lib/resource/string.gen.dart

@@ -248,6 +248,7 @@ class StringName {
   static final String dialogLocationPermissionConfirmTxt = 'dialog_location_permission_confirm_txt'.tr; // 去定位
   static final String dialogLocationAlwaysPermissionTitle = 'dialog_location_always_permission_title'.tr; // 允许定位权限
   static final String dialogLocationAlwaysPermissionConfirmTxt = 'dialog_location_always_permission_confirm_txt'.tr; // 去设置
+  static final String appleRecoverSubscribeTxt = 'apple_recover_subscribe_txt'.tr; // 恢复订阅
 }
 class StringMultiSource {
   StringMultiSource._();
@@ -499,6 +500,7 @@ class StringMultiSource {
       'dialog_location_permission_confirm_txt': '去定位',
       'dialog_location_always_permission_title': '允许定位权限',
       'dialog_location_always_permission_confirm_txt': '去设置',
+      'apple_recover_subscribe_txt': '恢复订阅',
     },
   };
 }

+ 4 - 4
pubspec.lock

@@ -612,10 +612,10 @@ packages:
     dependency: transitive
     description:
       name: in_app_purchase_android
-      sha256: "475b6c6541b54e6878263270d291ca8d5d7ef044263115bdec45e1e59737e3ad"
+      sha256: fd76e5612da6facadcfe8a3477da092908227260a9f6ec7db9a66dd989c69b02
       url: "https://pub.dev"
     source: hosted
-    version: "0.4.0+1"
+    version: "0.4.0+2"
   in_app_purchase_platform_interface:
     dependency: transitive
     description:
@@ -628,10 +628,10 @@ packages:
     dependency: transitive
     description:
       name: in_app_purchase_storekit
-      sha256: "02f08d5688fc2776e3e386ff7d3071b7b375ea8222e8e6bd027b15c0708e4045"
+      sha256: "9c2b438aa8ef95ac1c1f5ab1aaace8d6edd0ba3745b8b8df832f7baa2e7492f7"
       url: "https://pub.dev"
     source: hosted
-    version: "0.4.0"
+    version: "0.4.1"
   injectable:
     dependency: "direct main"
     description: