Fixed that whole FetchAllTransactionsOverlay gets displayed in systemGroupedBackground
This commit is contained in:
parent
cd3a24a360
commit
2646863198
|
@ -116,24 +116,28 @@ struct AccountTransactionsDialog: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer()
|
|
||||||
|
|
||||||
if showFetchAllTransactionsOverlay {
|
if showFetchAllTransactionsOverlay {
|
||||||
HStack(alignment: .center) {
|
VStack {
|
||||||
Button("x") {
|
|
||||||
self.showFetchAllTransactionsOverlay = false
|
|
||||||
}
|
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
Button("Fetch all account transactions") {
|
HStack(alignment: .center) {
|
||||||
self.fetchAllTransactions(self.accountsForWhichNotAllTransactionsHaveBeenFetched)
|
Button("x") {
|
||||||
|
self.showFetchAllTransactionsOverlay = false
|
||||||
|
}
|
||||||
|
.font(.title)
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
Button("Fetch all account transactions") {
|
||||||
|
self.fetchAllTransactions(self.accountsForWhichNotAllTransactionsHaveBeenFetched)
|
||||||
|
}
|
||||||
|
|
||||||
|
Spacer()
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.frame(height: 35)
|
.frame(height: 40)
|
||||||
.padding(.top, 8)
|
|
||||||
.padding(.horizontal, 6)
|
.padding(.horizontal, 6)
|
||||||
.background(Color(UIColor.systemGroupedBackground))
|
.background(Color(UIColor.systemGroupedBackground))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue