|
|
|
|
@ -25,6 +25,10 @@ struct LeCountdownApp: App { |
|
|
|
|
|
|
|
|
|
init() { |
|
|
|
|
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() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -48,6 +52,7 @@ struct LeCountdownApp: App { |
|
|
|
|
.tag(2) |
|
|
|
|
|
|
|
|
|
}.tabViewStyle(.page) |
|
|
|
|
.foregroundColor(Color.accentColor) |
|
|
|
|
} |
|
|
|
|
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in |
|
|
|
|
self._willEnterForegroundNotification() |
|
|
|
|
|