Fixed that whole FetchAllTransactionsOverlay gets displayed in systemGroupedBackground

This commit is contained in:
dankito 2020-08-10 16:06:54 +02:00
parent cd3a24a360
commit 2646863198
1 changed files with 15 additions and 11 deletions

View File

@ -116,13 +116,15 @@ struct AccountTransactionsDialog: View {
} }
} }
if showFetchAllTransactionsOverlay {
VStack {
Spacer() Spacer()
if showFetchAllTransactionsOverlay {
HStack(alignment: .center) { HStack(alignment: .center) {
Button("x") { Button("x") {
self.showFetchAllTransactionsOverlay = false self.showFetchAllTransactionsOverlay = false
} }
.font(.title)
Spacer() Spacer()
@ -132,8 +134,10 @@ struct AccountTransactionsDialog: View {
Spacer() Spacer()
} }
.frame(height: 35)
.padding(.top, 8) Spacer()
}
.frame(height: 40)
.padding(.horizontal, 6) .padding(.horizontal, 6)
.background(Color(UIColor.systemGroupedBackground)) .background(Color(UIColor.systemGroupedBackground))
} }