瀏覽代碼

增加debug下,默认为会员

100Years 1 周之前
父節點
當前提交
7c579871ab
共有 2 個文件被更改,包括 13 次插入3 次删除
  1. 3 3
      AIEmoji/Common/Purchase/TSPurchaseManager.swift
  2. 10 0
      AIEmoji/pt-PT.lproj/InfoPlist.strings

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

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

+ 10 - 0
AIEmoji/pt-PT.lproj/InfoPlist.strings

@@ -0,0 +1,10 @@
+/* 
+  InfoPlist.strings
+  AIEmoji
+
+  Created by 100Years on 2025/4/6.
+  
+*/
+
+
+NSPhotoLibraryUsageDescription = "Permita-nos acessar fotos para fazer upload de suas fotos para gerar novos estilos.";