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

View File

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