Skip to content

Commit

Permalink
Fix the API annotation of IndicatorViewModifier
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampiggy committed Mar 3, 2020
1 parent 6e99733 commit b60924f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SDWebImageSwiftUI/Classes/Indicator/Indicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public protocol IndicatorReportable : ObservableObject {
public struct IndicatorViewModifier<T, V> : ViewModifier where T : View, V : IndicatorReportable {

/// The progress reporter
@ObservedObject var reporter: V
@ObservedObject public var reporter: V

/// The indicator
var indicator: Indicator<T>
public var indicator: Indicator<T>

public func body(content: Content) -> some View {
ZStack {
Expand Down

0 comments on commit b60924f

Please sign in to comment.