5 bottom padding on main view and filter view

This commit is contained in:
Trey t
2022-02-04 17:26:48 -06:00
parent 9cf450f8c5
commit c23db645ea
2 changed files with 6 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ struct ContentView: View {
init(){
UIPageControl.appearance().currentPageIndicatorTintColor = UIColor.label
UIPageControl.appearance().pageIndicatorTintColor = UIColor.black.withAlphaComponent(0.2)
UITabBar.appearance().backgroundColor = theme.secondaryBGColor
UITabBar.appearance().backgroundColor = UIColor.secondarySystemBackground
}
var body: some View {
@@ -341,7 +341,9 @@ struct ContentView: View {
.padding([.leading, .trailing])
.padding(.top, -25)
}
}.background(
}
.padding(.bottom, 5)
.background(
theme.bg
.edgesIgnoringSafeArea(.all)
)

View File

@@ -64,6 +64,7 @@ struct FilterView: View {
self.viewModel.filterEntries(startDate: Date(timeIntervalSince1970: 0), endDate: Date())
})
}
.padding(.bottom, 5)
.background(
theme.bg
.edgesIgnoringSafeArea(.all)
@@ -213,7 +214,7 @@ struct FilterView: View {
showFilter = false
}
}))
.padding()
.padding([.top, .leading, .trailing])
}
}
}