diff --git a/Vernissage/VernissageApp.swift b/Vernissage/VernissageApp.swift index 2938621..7208cca 100644 --- a/Vernissage/VernissageApp.swift +++ b/Vernissage/VernissageApp.swift @@ -82,7 +82,6 @@ struct VernissageApp: App { self.theme = newValue.colorScheme() } .onChange(of: applicationState.tintColor) { oldValue, newValue in - UIRefreshControl.appearance().tintColor = self.applicationState.tintColor.uiColor() self.tintColor = newValue.color() } .onChange(of: applicationState.account) { oldValue, newValue in @@ -109,7 +108,6 @@ struct VernissageApp: App { private func onApplicationStart() async { UIPageControl.appearance().currentPageIndicatorTintColor = UIColor.white.withAlphaComponent(0.7) UIPageControl.appearance().pageIndicatorTintColor = UIColor.white.withAlphaComponent(0.4) - UIRefreshControl.appearance().tintColor = self.applicationState.tintColor.uiColor() // Configure TipKit. try? Tips.configure([.displayFrequency(.daily), .datastoreLocation(.applicationDefault)]) diff --git a/WidgetsKit/Sources/WidgetsKit/Widgets/LoadingIndicator.swift b/WidgetsKit/Sources/WidgetsKit/Widgets/LoadingIndicator.swift index 8b0c1a4..12deefc 100644 --- a/WidgetsKit/Sources/WidgetsKit/Widgets/LoadingIndicator.swift +++ b/WidgetsKit/Sources/WidgetsKit/Widgets/LoadingIndicator.swift @@ -18,13 +18,7 @@ public struct LoadingIndicator: View { public var body: some View { ProgressView() - .tint(applicationState.tintColor.color()) + .tint(.gray) .controlSize(self.controlSize) } } - -struct LoadingIndicator_Previews: PreviewProvider { - static var previews: some View { - LoadingIndicator() - } -}