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