Centering amount and value date now in list item
This commit is contained in:
parent
425982291c
commit
936428c4f5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue