We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a6d58 commit 14bb4beCopy full SHA for 14bb4be
SDWebImageSwiftUI/Classes/Indicator/ProgressIndicator.swift
@@ -35,7 +35,7 @@ public struct ProgressIndicator: PlatformViewRepresentable {
35
case .bar:
36
progressStyle = .bar
37
#endif
38
- default:
+ case .default:
39
progressStyle = .default
40
}
41
let uiView = ProgressIndicatorWrapper()
@@ -99,7 +99,9 @@ public struct ProgressIndicator: PlatformViewRepresentable {
99
extension ProgressIndicator {
100
public enum Style {
101
case `default`
102
+ #if os(iOS)
103
case bar
104
+ #endif
105
106
107
0 commit comments