diff --git a/Shared/views/ContentView.swift b/Shared/views/ContentView.swift index 15e5e7d..75b6f50 100644 --- a/Shared/views/ContentView.swift +++ b/Shared/views/ContentView.swift @@ -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) ) diff --git a/Shared/views/FilterView.swift b/Shared/views/FilterView.swift index 08f0147..94e6bd2 100644 --- a/Shared/views/FilterView.swift +++ b/Shared/views/FilterView.swift @@ -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]) } } }