Skip to content

Commit b60924f

Browse files
committed
Fix the API annotation of IndicatorViewModifier
1 parent 6e99733 commit b60924f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SDWebImageSwiftUI/Classes/Indicator/Indicator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public protocol IndicatorReportable : ObservableObject {
4040
public struct IndicatorViewModifier<T, V> : ViewModifier where T : View, V : IndicatorReportable {
4141

4242
/// The progress reporter
43-
@ObservedObject var reporter: V
43+
@ObservedObject public var reporter: V
4444

4545
/// The indicator
46-
var indicator: Indicator<T>
46+
public var indicator: Indicator<T>
4747

4848
public func body(content: Content) -> some View {
4949
ZStack {

0 commit comments

Comments
 (0)