Revert back loader color
This commit is contained in:
parent
bfde175aab
commit
fc4d6f7f42
|
@ -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)])
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue