Centering amount and value date now in list item
This commit is contained in:
parent
425982291c
commit
936428c4f5
|
@ -38,17 +38,21 @@ struct AccountTransactionListItem: View {
|
|||
|
||||
VStack(alignment: .trailing) {
|
||||
if areMoreThanOneBanksTransactionsDisplayed {
|
||||
IconView(iconUrl: transaction.account.bank.iconUrl, defaultIconName: Styles.AccountFallbackIcon)
|
||||
|
||||
Spacer()
|
||||
|
||||
IconView(iconUrl: transaction.account.bank.iconUrl, defaultIconName: Styles.AccountFallbackIcon)
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
AmountLabel(transaction.amount, transaction.currency)
|
||||
|
||||
Spacer()
|
||||
|
||||
Text(presenter.formatToShortDate(date: transaction.valueDate))
|
||||
.styleAsDetail()
|
||||
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
.contextMenu {
|
||||
|
|
Loading…
Reference in New Issue