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,10 +38,12 @@ struct AccountTransactionListItem: View {
VStack(alignment: .trailing) { VStack(alignment: .trailing) {
if areMoreThanOneBanksTransactionsDisplayed { if areMoreThanOneBanksTransactionsDisplayed {
Spacer()
IconView(iconUrl: transaction.account.bank.iconUrl, defaultIconName: Styles.AccountFallbackIcon) IconView(iconUrl: transaction.account.bank.iconUrl, defaultIconName: Styles.AccountFallbackIcon)
}
Spacer() Spacer()
}
AmountLabel(transaction.amount, transaction.currency) AmountLabel(transaction.amount, transaction.currency)
@ -49,6 +51,8 @@ struct AccountTransactionListItem: View {
Text(presenter.formatToShortDate(date: transaction.valueDate)) Text(presenter.formatToShortDate(date: transaction.valueDate))
.styleAsDetail() .styleAsDetail()
Spacer()
} }
} }
.contextMenu { .contextMenu {