Revert back loader color
This commit is contained in:
parent
bfde175aab
commit
fc4d6f7f42
|
@ -82,7 +82,6 @@ struct VernissageApp: App {
|
||||||
self.theme = newValue.colorScheme()
|
self.theme = newValue.colorScheme()
|
||||||
}
|
}
|
||||||
.onChange(of: applicationState.tintColor) { oldValue, newValue in
|
.onChange(of: applicationState.tintColor) { oldValue, newValue in
|
||||||
UIRefreshControl.appearance().tintColor = self.applicationState.tintColor.uiColor()
|
|
||||||
self.tintColor = newValue.color()
|
self.tintColor = newValue.color()
|
||||||
}
|
}
|
||||||
.onChange(of: applicationState.account) { oldValue, newValue in
|
.onChange(of: applicationState.account) { oldValue, newValue in
|
||||||
|
@ -109,7 +108,6 @@ struct VernissageApp: App {
|
||||||
private func onApplicationStart() async {
|
private func onApplicationStart() async {
|
||||||
UIPageControl.appearance().currentPageIndicatorTintColor = UIColor.white.withAlphaComponent(0.7)
|
UIPageControl.appearance().currentPageIndicatorTintColor = UIColor.white.withAlphaComponent(0.7)
|
||||||
UIPageControl.appearance().pageIndicatorTintColor = UIColor.white.withAlphaComponent(0.4)
|
UIPageControl.appearance().pageIndicatorTintColor = UIColor.white.withAlphaComponent(0.4)
|
||||||
UIRefreshControl.appearance().tintColor = self.applicationState.tintColor.uiColor()
|
|
||||||
|
|
||||||
// Configure TipKit.
|
// Configure TipKit.
|
||||||
try? Tips.configure([.displayFrequency(.daily), .datastoreLocation(.applicationDefault)])
|
try? Tips.configure([.displayFrequency(.daily), .datastoreLocation(.applicationDefault)])
|
||||||
|
|
|
@ -18,13 +18,7 @@ public struct LoadingIndicator: View {
|
||||||
|
|
||||||
public var body: some View {
|
public var body: some View {
|
||||||
ProgressView()
|
ProgressView()
|
||||||
.tint(applicationState.tintColor.color())
|
.tint(.gray)
|
||||||
.controlSize(self.controlSize)
|
.controlSize(self.controlSize)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct LoadingIndicator_Previews: PreviewProvider {
|
|
||||||
static var previews: some View {
|
|
||||||
LoadingIndicator()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue