Centering amount and value date now in list item

This commit is contained in:
dankito 2020-09-28 00:41:37 +02:00
parent 425982291c
commit 936428c4f5
1 changed files with 6 additions and 2 deletions

View File

@ -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 {