From 87d15add1be38235d732de9973dd066d03afbf47 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 13 Feb 2023 19:01:23 +0100 Subject: [PATCH] page view indicator colors --- LeCountdown/LeCountdownApp.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LeCountdown/LeCountdownApp.swift b/LeCountdown/LeCountdownApp.swift index e8ae9b0..cd4d836 100644 --- a/LeCountdown/LeCountdownApp.swift +++ b/LeCountdown/LeCountdownApp.swift @@ -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()