Mercurial > public > simoleon
diff Simoleon/Helpers/CurrencySelectorLabel.swift @ 187:13d5a8deb6c2
add AboutView and FavoritesView
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 23 Dec 2021 16:12:22 +0100 |
parents | 2fc95efcb1ee |
children |
line wrap: on
line diff
--- a/Simoleon/Helpers/CurrencySelectorLabel.swift Thu Dec 23 11:30:38 2021 +0100 +++ b/Simoleon/Helpers/CurrencySelectorLabel.swift Thu Dec 23 16:12:22 2021 +0100 @@ -16,8 +16,7 @@ .frame(height: 60) .overlay( HStack { - let flagName = getFlagName(currency: currency) - Flag(flagName: flagName) + Flag(currencyCode: currency.code) Text(currency.code) .font(.headline) .foregroundColor(.primary)