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()
if showFetchAllTransactionsOverlay {
HStack(alignment: .center) {
Button("x") {
self.showFetchAllTransactionsOverlay = false
}
.font(.title)
Spacer()
@ -132,8 +134,10 @@ struct AccountTransactionsDialog: View {
Spacer()
}
.frame(height: 35)
.padding(.top, 8)
Spacer()
}
.frame(height: 40)
.padding(.horizontal, 6)
.background(Color(UIColor.systemGroupedBackground))
}