leon hace 1 año
padre
commit
d205d8d18c

+ 1 - 1
ios/AppDelegate.mm

@@ -250,7 +250,7 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
 - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
 {
   //  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
-#if DEBUGaa
+#if DEBUG
   return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
 #else
   return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

+ 2 - 2
ios/hola.xcodeproj/project.pbxproj

@@ -544,7 +544,7 @@
 				CODE_SIGN_ENTITLEMENTS = hola/hola.entitlements;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 126;
+				CURRENT_PROJECT_VERSION = 127;
 				DEVELOPMENT_TEAM = GPMXAZ9G5N;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = hola/Info.plist;
@@ -577,7 +577,7 @@
 				CODE_SIGN_ENTITLEMENTS = hola/hola.entitlements;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 126;
+				CURRENT_PROJECT_VERSION = 127;
 				DEVELOPMENT_TEAM = GPMXAZ9G5N;
 				INFOPLIST_FILE = hola/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = (

+ 1 - 1
ios/hola/Info.plist

@@ -32,7 +32,7 @@
 		</dict>
 	</array>
 	<key>CFBundleVersion</key>
-	<string>126</string>
+	<string>127</string>
 	<key>ITSAppUsesNonExemptEncryption</key>
 	<false/>
 	<key>LSApplicationCategoryType</key>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
ios/main.jsbundle


+ 1 - 0
src/components/basic/ActionSheet.tsx

@@ -5,6 +5,7 @@ import Taro from "@tarojs/taro";
 export default function showActionSheet(props: any) {
     if (process.env.TARO_ENV == 'weapp') {
         Taro.showActionSheet({
+            alertText:props.title??'',
             itemList: props.itemList,
             success: function (res) {
                 props.success(res.tapIndex)

+ 2 - 1
src/context/locales/en.js

@@ -93,7 +93,8 @@ export default {
             time_title: 'History',
             metric_title: '{{title}} Records',
             activity_title: '{{title}} Records',
-            del_success: 'Deletion successful'
+            del_success: 'Deletion successful',
+            del_action_title:'This record will be deleted permanently.'
         },
         setting: {
             title: 'Settings',

+ 2 - 1
src/context/locales/zh.js

@@ -92,7 +92,8 @@ export default {
             time_title: '历史记录',
             metric_title: '{{title}}记录',
             activity_title: '{{title}}记录',
-            del_success: '删除成功'
+            del_success: '删除成功',
+            del_action_title:'本条记录将被永久删除。'
         },
         setting: {
             title: '设置',

+ 1 - 0
src/features/common/RecordItem.tsx

@@ -44,6 +44,7 @@ export default function Component(props: { children: React.ReactNode, onClick?:
         }
 
         showActionSheet({
+            title:t('page.records_history.del_action_title'),
             showActionSheetWithOptions: showActionSheetWithOptions,
             itemList: [t('feature.common.action_sheet.delete')],
             success: (res) => {

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio