Mercurial > public > lazybear
comparison LazyBear/Views/Company/Helpers/TransactionRow.swift @ 413:2984d8946342
Minor UI changes
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 09 Jun 2021 10:23:52 +0200 |
parents | a7c9dd0c5822 |
children | 34f9e408b861 |
comparison
equal
deleted
inserted
replaced
412:a7c9dd0c5822 | 413:2984d8946342 |
---|---|
21 .fontWeight(.semibold) | 21 .fontWeight(.semibold) |
22 | 22 |
23 Text(getDateComponents(.day, date)) | 23 Text(getDateComponents(.day, date)) |
24 .font(.title) | 24 .font(.title) |
25 .fontWeight(.semibold) | 25 .fontWeight(.semibold) |
26 .foregroundColor(Color("default")) | 26 .foregroundColor(Color(.systemBlue)) |
27 | 27 |
28 Text(getDateComponents(.year, date)) | 28 Text(getDateComponents(.year, date)) |
29 .font(.caption) | 29 .font(.caption) |
30 .fontWeight(.semibold) | 30 .fontWeight(.semibold) |
31 } | 31 } |
34 VStack(alignment: .leading) { | 34 VStack(alignment: .leading) { |
35 Text(transaction.fullName.capitalized) | 35 Text(transaction.fullName.capitalized) |
36 .lineLimit(1) | 36 .lineLimit(1) |
37 .font(.headline) | 37 .font(.headline) |
38 | 38 |
39 Text(transaction.reportedTitle ?? "-") | 39 Text(transaction.reportedTitle?.capitalized ?? "-") |
40 } | 40 } |
41 | 41 |
42 Spacer() | 42 Spacer() |
43 if let transactionShares = transaction.transactionShares { | 43 if let transactionShares = transaction.transactionShares { |
44 VStack(alignment: .trailing) { | 44 VStack(alignment: .trailing) { |