diff Simoleon/Helpers/SubscriptionFeature.swift @ 65:4082787b33e5

Minor UI updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Tue, 27 Jul 2021 22:13:42 +0100
parents b0bce2c8e4a9
children
line wrap: on
line diff
--- 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."
         )
     }