Fix the API annotation of IndicatorViewModifier
This commit is contained in:
parent
6e99733eb7
commit
b60924f6b8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue