page view indicator colors

release
Laurent 3 years ago
parent f1e082e3e9
commit 87d15add1b
  1. 5
      LeCountdown/LeCountdownApp.swift

@ -25,6 +25,10 @@ struct LeCountdownApp: App {
init() { init() {
UITabBar.appearance().backgroundColor = UIColor(white: 0.96, alpha: 1.0) UITabBar.appearance().backgroundColor = UIColor(white: 0.96, alpha: 1.0)
UIPageControl.appearance().currentPageIndicatorTintColor = .systemPink
UIPageControl.appearance().pageIndicatorTintColor = UIColor(white: 0.7, alpha: 1.0)
self._registerBackgroundRefreshes() self._registerBackgroundRefreshes()
} }
@ -48,6 +52,7 @@ struct LeCountdownApp: App {
.tag(2) .tag(2)
}.tabViewStyle(.page) }.tabViewStyle(.page)
.foregroundColor(Color.accentColor)
} }
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in .onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
self._willEnterForegroundNotification() self._willEnterForegroundNotification()

Loading…
Cancel
Save