100Years преди 1 седмица
родител
ревизия
c59151d2b2

+ 2 - 2
AIEmoji.xcodeproj/project.pbxproj

@@ -2086,7 +2086,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 4;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -2125,7 +2125,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 4;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;

+ 4 - 8
AIEmoji/Business/TSPTPGeneratorVC/TSPTPInputVC/TSPTPInputVC.swift

@@ -291,10 +291,7 @@ class TSPTPInputVC: TSBaseVC {
         
         cp.itemDidSelectedHandler = { [weak self] (object, indexPath) in
             guard let self = self else { return }
-            if indexPath.section == 0{
-                return
-            }
-            
+ 
             if let sections = viewModel.colDataArray.safeObj(At: indexPath.section) as? TSGenmojiCoLSectionModel{
                 var dataModelArray:[TSGenmojiModel] = []
                 for itemModel in sections.items {
@@ -335,11 +332,10 @@ class TSPTPInputVC: TSBaseVC {
         }
         
         
-        let tapGesture = UITapGestureRecognizer(target: self, action: #selector(clickView))
-        tapGesture.cancelsTouchesInView = false // 确保不影响其他点击事件
-        collectionComponent.collectionView.addGestureRecognizer(tapGesture)
+//        let tapGesture = UITapGestureRecognizer(target: self, action: #selector(clickView))
+//        tapGesture.cancelsTouchesInView = false
+//        view.addGestureRecognizer(tapGesture)
 
-        
         collectionComponent.clear()
         collectionComponent.reloadView(with:viewModel.colDataArray)
         

+ 1 - 0
AIEmoji/Res/text_to_photo_style.json

@@ -3,6 +3,7 @@
         "imageName": "ttp_style_none",
         "imageText": "No Style",
         "prompt":"",
+        "style":"No Style",
         "isVip": false
     },
     {

+ 1 - 1
AIEmoji/zh-Hant.lproj/Localizable.strings

@@ -30,7 +30,7 @@
 "Generating" = "生成中";
 "Uploading Photo" = "上傳照片";
 "Try Again" = "重試";
-"Save" = "保持";
+"Save" = "儲存";
 "AI Text to Emoji" = "AI 文字轉表情";
 "AI Text to Photo" = "AI 文字轉圖像";
 "Ghibli Style Example" = "吉卜力風格範例";