Fixed that search bar didn't scroll out of view but was always visible
This commit is contained in:
parent
cc6e02f431
commit
53f0380302
|
@ -83,6 +83,9 @@ struct AccountTransactionsDialog: View {
|
|||
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
Form {
|
||||
Section {
|
||||
VStack {
|
||||
UIKitSearchBar(text: searchTextBinding)
|
||||
|
||||
|
@ -95,10 +98,9 @@ struct AccountTransactionsDialog: View {
|
|||
AmountLabel(amount: balanceOfFilteredTransactions)
|
||||
}
|
||||
.padding(.horizontal)
|
||||
}
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
Form {
|
||||
Section {
|
||||
ForEach(filteredTransactions.sorted(by: { $0.valueDate.date > $1.valueDate.date } ), id: \.technicalId) { transaction in
|
||||
AccountTransactionListItem(transaction, self.areMoreThanOneBanksTransactionsDisplayed)
|
||||
|
|
Loading…
Reference in New Issue