changeset 78:822175ac4343

Fix bug with Picker
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sat, 31 Jul 2021 17:10:08 +0100
parents 1069c33d3a42
children d353b07e9eef
files Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Simoleon/Settings.swift
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/Simoleon/Settings.swift	Sat Jul 31 17:09:58 2021 +0100
+++ b/Simoleon/Settings.swift	Sat Jul 31 17:10:08 2021 +0100
@@ -46,6 +46,7 @@
                         
                         ForEach(searchResults, id: \.self) { currencyPair in
                             Text(currencyPair.name)
+                                .tag(currencyPair.name)
                         }
                     }
                 } else {
@@ -152,8 +153,6 @@
         Purchases.shared.purchaserInfo { (purchaserInfo, error) in
             if purchaserInfo?.entitlements["all"]?.isActive == true {
                 entitlementIsActive = true
-            } else {
-                entitlementIsActive = false
             }
             
             if let error = error as NSError? {