5 bottom padding on main view and filter view
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user