Bladeren bron

3.6.14(4)

100Years 1 week geleden
bovenliggende
commit
75cb4a91c1

+ 2 - 2
AIEmoji.xcodeproj/project.pbxproj

@@ -2540,7 +2540,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 3;
+				CURRENT_PROJECT_VERSION = 4;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -2579,7 +2579,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 3;
+				CURRENT_PROJECT_VERSION = 4;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
 				GENERATE_INFOPLIST_FILE = YES;

+ 22 - 0
AIEmoji/Assets.xcassets/PTP/ptp_upload_small_bg.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "ptp_upload_small_bg@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "ptp_upload_small_bg@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

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


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


+ 1 - 1
AIEmoji/Business/VIewTool/TSAISmallUploadView/TSAISmallUploadView.swift

@@ -68,7 +68,7 @@ class TSAISmallUploadView: TSBaseView {
         
         
         let bgView = UIView()
         let bgView = UIView()
         bgView.addGestureRecognizer(UITapGestureRecognizer(target: self, action:#selector(clickBgView)))
         bgView.addGestureRecognizer(UITapGestureRecognizer(target: self, action:#selector(clickBgView)))
-        let bgImageView = UIImageView.createImageView(imageName: "ptp_upload_bg")
+        let bgImageView = UIImageView.createImageView(imageName: "ptp_upload_small_bg")
         bgImageView.contentMode = .scaleToFill
         bgImageView.contentMode = .scaleToFill
         bgView.addSubview(bgImageView)
         bgView.addSubview(bgImageView)
         bgImageView.snp.makeConstraints { make in
         bgImageView.snp.makeConstraints { make in

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

@@ -200,9 +200,9 @@ public class PurchaseManager: NSObject {
     }
     }
 
 
     @objc public var isVip: Bool {
     @objc public var isVip: Bool {
-#if DEBUG
-        return vipType != .none
-#endif
+//#if DEBUG
+//        return vipType != .none
+//#endif
         guard let expiresDate = expiredDate else {
         guard let expiresDate = expiredDate else {
             return false
             return false
         }
         }
@@ -214,9 +214,9 @@ public class PurchaseManager: NSObject {
     }
     }
 
 
     public var vipType: PremiumPeriod {
     public var vipType: PremiumPeriod {
-#if DEBUG
-        return PremiumPeriod.week
-#endif
+//#if DEBUG
+//        return PremiumPeriod.week
+//#endif
         guard isVip, let type = vipInformation["type"] as? String else {
         guard isVip, let type = vipInformation["type"] as? String else {
             return .none
             return .none
         }
         }