Mercurial > public > simoleon
diff Simoleon/Helpers/CurrencyRow.swift @ 95:04feeb708833
Minor UI updates
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 03 Aug 2021 15:02:40 +0100 |
parents | 1069c33d3a42 |
children | 6eac99e99b96 |
line wrap: on
line diff
--- a/Simoleon/Helpers/CurrencyRow.swift Tue Aug 03 13:20:09 2021 +0100 +++ b/Simoleon/Helpers/CurrencyRow.swift Tue Aug 03 15:02:40 2021 +0100 @@ -20,14 +20,14 @@ .aspectRatio(contentMode: .fill) .frame(width: 30, height: 30) .clipShape(Circle()) - .overlay(Circle().stroke(Color(.systemGray), lineWidth: 1)) + .overlay(Circle().stroke(Color(.secondaryLabel), lineWidth: 1)) Image(currencyMetadata[String(currencies[1])]!.flag) .resizable() .aspectRatio(contentMode: .fill) .frame(width: 30, height: 30) .clipShape(Circle()) - .overlay(Circle().stroke(Color(.systemGray), lineWidth: 1)) + .overlay(Circle().stroke(Color(.secondaryLabel), lineWidth: 1)) .offset(x: -20) .padding(.trailing, -20) @@ -40,7 +40,7 @@ if isLocked ?? false { Image(systemName: "lock") - .foregroundColor(Color(.systemGray)) + .foregroundColor(.secondary) } } } @@ -48,6 +48,6 @@ struct CurrencyRow_Previews: PreviewProvider { static var previews: some View { - CurrencyRow(currencyPairName: "USD/GBP") + CurrencyRow(currencyPairName: "USD/GBP", isLocked: true) } }