diff LazyBear/Views/Home/Helpers/CurrencyItem.swift @ 357:eb97439e46cd

Implement ExtensiveList in HomeView
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Thu, 15 Apr 2021 23:37:25 +0200
parents 5ccceb527178
children 2984d8946342
line wrap: on
line diff
--- a/LazyBear/Views/Home/Helpers/CurrencyItem.swift	Wed Apr 14 23:18:07 2021 +0200
+++ b/LazyBear/Views/Home/Helpers/CurrencyItem.swift	Thu Apr 15 23:37:25 2021 +0200
@@ -23,7 +23,7 @@
                             Text(currency.flag)
                         )
                     VStack(alignment: .leading) {
-                        Text(currencySymbol)
+                        Text("USD/\(currencySymbol)")
                             .font(.headline)
                         
                         Text(currency.name)
@@ -31,7 +31,7 @@
                     }
                     
                     Spacer()
-                    Text("$ \(currency.rate, specifier: "%.2f")")
+                    Text("\(currency.rate, specifier: "%.2f")")
                         .padding(.horizontal)
                 }
                 .clipShape(RoundedRectangle(cornerRadius: 8))