diff Simoleon/Settings.swift @ 128:87f02d4f9c26

Add custom build configuration Now I can add logic when the app is built under the Screenshots scheme
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Mon, 16 Aug 2021 18:21:39 +0100
parents 529feb1fc8d5
children 6eac99e99b96
line wrap: on
line diff
--- a/Simoleon/Settings.swift	Sun Aug 15 15:16:56 2021 +0100
+++ b/Simoleon/Settings.swift	Mon Aug 16 18:21:39 2021 +0100
@@ -150,7 +150,7 @@
     
     // Check if user subscription is active
     private func checkEntitlement() {
-        #if DEBUG
+        #if SCREENSHOTS
         entitlementIsActive = true
         #else
         Purchases.shared.purchaserInfo { (purchaserInfo, error) in