changeset 65:4082787b33e5

Minor UI updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Tue, 27 Jul 2021 22:13:42 +0100
parents ad145f9c4153
children e7210cff632e
files Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Simoleon.xcodeproj/xcuserdata/dennis.xcuserdatad/xcschemes/xcschememanagement.plist Simoleon/Helpers/SubscriptionFeature.swift Simoleon/Localization/en.xcloc/Source Contents/Simoleon/en.lproj/Localizable.strings Simoleon/Localization/en.xcloc/Source Contents/Simoleon/es.lproj/Localizable.strings Simoleon/SubscriptionPaywall.swift
diffstat 6 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/Simoleon.xcodeproj/xcuserdata/dennis.xcuserdatad/xcschemes/xcschememanagement.plist	Tue Jul 27 18:56:56 2021 +0100
+++ b/Simoleon.xcodeproj/xcuserdata/dennis.xcuserdatad/xcschemes/xcschememanagement.plist	Tue Jul 27 22:13:42 2021 +0100
@@ -28,7 +28,7 @@
 		<key>Simoleon.xcscheme_^#shared#^_</key>
 		<dict>
 			<key>orderHint</key>
-			<integer>0</integer>
+			<integer>1</integer>
 		</dict>
 		<key>SimoleonWatchOS (Complication).xcscheme_^#shared#^_</key>
 		<dict>
@@ -43,7 +43,7 @@
 		<key>SimoleonWatchOS.xcscheme_^#shared#^_</key>
 		<dict>
 			<key>orderHint</key>
-			<integer>1</integer>
+			<integer>0</integer>
 		</dict>
 	</dict>
 </dict>
--- a/Simoleon/Helpers/SubscriptionFeature.swift	Tue Jul 27 18:56:56 2021 +0100
+++ b/Simoleon/Helpers/SubscriptionFeature.swift	Tue Jul 27 22:13:42 2021 +0100
@@ -8,14 +8,14 @@
 import SwiftUI
 
 struct SubscriptionFeature: View {
-    var symbol: LocalizedStringKey
+    var symbol: String
     var colour: Color
     var title: LocalizedStringKey
     var description: LocalizedStringKey
     
     var body: some View {
         HStack(alignment:.top) {
-            Image(systemName: "\(symbol)")
+            Image(systemName: symbol)
                 .foregroundColor(colour)
                 .font(.title)
             
@@ -34,7 +34,7 @@
         SubscriptionFeature(
             symbol: "star.circle.fill",
             colour: Color(.systemYellow),
-            title: "Favorite currencies",
+            title: "Favorite Currencies",
             description: "Save your favorite currencies to access them quickly."
         )
     }
Binary file Simoleon/Localization/en.xcloc/Source Contents/Simoleon/en.lproj/Localizable.strings has changed
Binary file Simoleon/Localization/en.xcloc/Source Contents/Simoleon/es.lproj/Localizable.strings has changed
--- a/Simoleon/SubscriptionPaywall.swift	Tue Jul 27 18:56:56 2021 +0100
+++ b/Simoleon/SubscriptionPaywall.swift	Tue Jul 27 22:13:42 2021 +0100
@@ -23,7 +23,7 @@
                                 .frame(width: 100, height: 100)
                                 .cornerRadius(25)
                             
-                            Text("Unlock all access")
+                            Text("Unlock All Access")
                                 .font(.title)
                                 .fontWeight(.semibold)
                                 .padding(.top)
@@ -37,29 +37,29 @@
                     SubscriptionFeature(
                         symbol: "star.circle.fill",
                         colour: Color(.systemYellow),
-                        title: "Favorite currencies",
-                        description: "Save your favorite currencies to access them quickly."
+                        title: "Favorite Forex Pairs",
+                        description: "Save any currency pair for quick access."
                     )
                     
                     SubscriptionFeature(
                         symbol: "flag.circle.fill",
                         colour: Color(.systemRed),
-                        title: "Over 170 currencies",
-                        description: "Have access to almost every currency of the world."
+                        title: "Over 170 Currencies",
+                        description: "Access almost every currency of the world."
                     )
                     
                     SubscriptionFeature(
                         symbol: "icloud.circle.fill",
                         colour: Color(.systemBlue),
-                        title: "Simoleon on all your devices",
+                        title: "Everything is Up-to-date",
                         description: "Your settings and favorite currencies in all your devices."
                     )
                     
                     SubscriptionFeature(
                         symbol: "bitcoinsign.circle.fill",
                         colour: Color(.systemOrange),
-                        title: "Cryptos and commodities",
-                        description: "Convert your currency between cryptos, gold, and silver."
+                        title: "Cryptos and Commodities",
+                        description: "Convert currency between cryptos, gold, and silver."
                     )
                     
                     Spacer()