Browse Source

var to let tweak on ViewController

Andrea Bizzotto 7 years ago
parent
commit
725ca7bd6c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      SwiftyStoreKit-iOS-Demo/ViewController.swift

+ 4 - 4
SwiftyStoreKit-iOS-Demo/ViewController.swift

@@ -53,10 +53,10 @@ class ViewController: UIViewController {
     var nonRenewingIsAtomic: Bool { return nonRenewingAtomicSwitch.isOn }
     var autoRenewableIsAtomic: Bool { return autoRenewableAtomicSwitch.isOn }
 #else
-    var nonConsumableIsAtomic = true
-    var consumableIsAtomic = true
-    var nonRenewingIsAtomic = true
-    var autoRenewableIsAtomic = true
+    let nonConsumableIsAtomic = true
+    let consumableIsAtomic = true
+    let nonRenewingIsAtomic = true
+    let autoRenewableIsAtomic = true
 #endif
     // MARK: non consumable
     @IBAction func nonConsumableGetInfo() {