Mercurial > public > lazybear
comparison LazyBear/Views/Company/Helpers/TransactionRow.swift @ 415:34f9e408b861
Minor UI Updates and tests
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 09 Jun 2021 12:49:17 +0200 |
parents | 2984d8946342 |
children | 5f21f7c23c5e |
comparison
equal
deleted
inserted
replaced
414:b93172662988 | 415:34f9e408b861 |
---|---|
43 if let transactionShares = transaction.transactionShares { | 43 if let transactionShares = transaction.transactionShares { |
44 VStack(alignment: .trailing) { | 44 VStack(alignment: .trailing) { |
45 Text("\(transactionShares)") | 45 Text("\(transactionShares)") |
46 .foregroundColor(transactionShares < 0 ? Color(.systemRed): Color(.systemGreen)) | 46 .foregroundColor(transactionShares < 0 ? Color(.systemRed): Color(.systemGreen)) |
47 } | 47 } |
48 .padding(.leading) | |
48 } | 49 } |
49 } | 50 } |
50 .padding() | 51 .padding() |
51 ) | 52 ) |
52 } | 53 } |