Selaa lähdekoodia

feat:3.6.2(3)提测

100Years 2 kuukautta sitten
vanhempi
commit
f04c128b43

+ 2 - 2
TSLiveWallpaper.xcodeproj/project.pbxproj

@@ -1273,7 +1273,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -1313,7 +1313,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;

+ 4 - 3
TSLiveWallpaper/Business/TSMineVC/View/TSMineTopView.swift

@@ -9,9 +9,10 @@ class TSMineTopView: TSBaseView {
     
     var clickUpgrade:(()->Void)?
     lazy var saveView: UIButton = {
-        let saveLabel = UIButton.createButton(title: "Save", backgroundColor:"#E83E3E".uiColor, font: .font(name: .ZillaSlab,size: 12), titleColor: .mainText,corner: 4.0)
-        saveLabel.contentEdgeInsets = UIEdgeInsets(top: 0, left: 12, bottom: 0, right: 12)
-        return saveLabel
+        let saveView = UIButton.createButton(title: "Save", backgroundColor:"#E83E3E".uiColor, font: .font(name: .ZillaSlab,size: 12), titleColor: .mainText,corner: 4.0)
+        saveView.contentEdgeInsets = UIEdgeInsets(top: 0, left: 12, bottom: 0, right: 12)
+        saveView.isUserInteractionEnabled = false
+        return saveView
     }()
     
  

+ 0 - 8
TSLiveWallpaper/Common/GlobalImports/GlobalImports.swift

@@ -92,14 +92,6 @@ func kGetUIWdith(designSize:CGSize,currentW:CGFloat) -> CGFloat {
     return designSize.height/scale
 }
     
-
-public func debugPrint<T>(_ messsage: T, file: String = #file, funcName: String = #function, lineNum: Int = #line) {
-    #if DEBUG
-    let fileName = (file as NSString).lastPathComponent
-    print(Date.hmsString + " \(fileName) (\(funcName)): [\(lineNum)]- \(messsage)")
-    #endif
-}
-
 public func className(from object: Any) -> String {
     return String(describing: type(of: object))
 }

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

@@ -75,9 +75,9 @@ public class PurchaseManager: NSObject {
     }
 
     @objc public var isVip: Bool {
-        #if DEBUG
-        return true
-        #endif
+//        #if DEBUG
+//        return true
+//        #endif
         guard let expiresDate = expiredDate else {
             return false
         }

+ 2 - 3
TSLiveWallpaper/LaunchVC/TSLaunchVC.swift

@@ -16,9 +16,9 @@ class TSLaunchVC: UIViewController {
     private var timer: DispatchSourceTimer?
     // 闪屏页剩余显示时长
     #if DEBUG
-    private var remindTimeInterval: TimeInterval = 0.5//3.0
+    private var remindTimeInterval: TimeInterval = 1.0
     #else
-        private var remindTimeInterval: TimeInterval = 3.0
+        private var remindTimeInterval: TimeInterval = 1.0
     #endif
 
     private var isStop: Bool = false
@@ -36,7 +36,6 @@ class TSLaunchVC: UIViewController {
         if AppDelegate.isFirstInstallApp() {//首次安装需要等待网络权限弹窗
             startTimer()
         }else{
-            remindTimeInterval = 1.0
             startTimer()
         }
     }