Mercurial > public > lazybear
diff LazyBear/Views/Company/Helpers/InsiderTransactionsRow.swift @ 457:c6913f0ce46e
Minor UI Updates
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 28 Jun 2021 14:03:50 +0200 |
parents | 428109b1e3f0 |
children |
line wrap: on
line diff
--- a/LazyBear/Views/Company/Helpers/InsiderTransactionsRow.swift Mon Jun 28 12:51:06 2021 +0200 +++ b/LazyBear/Views/Company/Helpers/InsiderTransactionsRow.swift Mon Jun 28 14:03:50 2021 +0200 @@ -20,7 +20,7 @@ Text(getDateComponents(.day, date)) .font(.title) .fontWeight(.semibold) - .foregroundColor(Color(.systemBlue)) + .foregroundColor(Color.blue) Text(getDateComponents(.year, date)) .font(.caption) @@ -42,7 +42,7 @@ if let transactionShares = insiderTransaction.transactionShares { VStack(alignment: .trailing) { Text("\(transactionShares)") - .foregroundColor(transactionShares < 0 ? Color(.systemRed): Color(.systemGreen)) + .foregroundColor(transactionShares < 0 ? Color.red: Color.green) } .padding(.leading) }