From d84da617ba53f7119289c6c7d340ff4328469ad1 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 9 Sep 2020 13:41:05 +0200 Subject: [PATCH] Fixed displaying search bar over almost full screen width --- .../BankingiOSApp/ui/dialogs/AccountTransactionsDialog.swift | 2 ++ .../BankingiOSApp/ui/dialogs/SelectBankDialog.swift | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AccountTransactionsDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AccountTransactionsDialog.swift index af921783..05541fca 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AccountTransactionsDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AccountTransactionsDialog.swift @@ -98,7 +98,9 @@ struct AccountTransactionsDialog: View { AmountLabel(amount: balanceOfFilteredTransactions) } .padding(.horizontal) + .padding(.bottom, 8) } + .listRowInsets(EdgeInsets()) } Section { diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/SelectBankDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/SelectBankDialog.swift index 2de56f83..74caf676 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/SelectBankDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/SelectBankDialog.swift @@ -54,8 +54,10 @@ struct SelectBankDialog: View { Spacer() } - .padding(.leading, 10) + .padding(.horizontal) + .padding(.bottom, 8) } + .listRowInsets(EdgeInsets()) } if supportedBanksSearchResults.isEmpty {