From 936428c4f5497957b893b3e9a3201024dd70f335 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 28 Sep 2020 00:41:37 +0200 Subject: [PATCH] Centering amount and value date now in list item --- .../ui/views/listitems/AccountTransactionListItem.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AccountTransactionListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AccountTransactionListItem.swift index 237fb835..ebca2171 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AccountTransactionListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AccountTransactionListItem.swift @@ -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 {