Fix the API annotation of IndicatorViewModifier

This commit is contained in:
DreamPiggy 2020-03-03 22:29:07 +08:00
parent 6e99733eb7
commit b60924f6b8
1 changed files with 2 additions and 2 deletions

View File

@ -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 {