100Years 1 هفته پیش
والد
کامیت
babc0fed2b

+ 2 - 2
AIEmoji.xcodeproj/project.pbxproj

@@ -2544,7 +2544,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -2583,7 +2583,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;

BIN
AIEmoji/Assets.xcassets/PTP/ptp_upload_example.imageset/ptp_upload_example@2x.png


BIN
AIEmoji/Assets.xcassets/PTP/ptp_upload_example.imageset/ptp_upload_example@3x.png


+ 3 - 3
AIEmoji/Common/Purchase/TSPurchaseManager.swift

@@ -152,9 +152,9 @@ public class PurchaseManager: NSObject {
     public var isOverTotalTimes: Bool {
         if isVip {
             loadTotalUse()
-            //#if DEBUG
-            //        return false
-            //#endif
+//            #if DEBUG
+//                    return false
+//            #endif
             return totalUsedTimes >= vipType.freeNumber
         }
         return false

+ 6 - 2
AIEmoji/Common/Tool/OperationQueue/TSBaseOperationQueue.swift

@@ -26,9 +26,13 @@ class TSBaseOperationQueue {
         }
         return false
     }
-    
+
     init(maxConcurrentOperationCount: Int = 1) {
-        queue.maxConcurrentOperationCount = maxConcurrentOperationCount
+        var maxCount = maxConcurrentOperationCount
+//#if DEBUG
+//        maxCount = 6
+//#endif
+        queue.maxConcurrentOperationCount = maxCount
         dePrint("TSBaseOperationQueue operationCountObservation")
         // 监听 operationCount 的变化
            operationCountObservation = queue.observe(\.operationCount, options: [.new]) { [weak self] (queue, change) in