From b60924f6b83bd942b88282ee6da277cfc3b7383a Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 3 Mar 2020 22:29:07 +0800 Subject: [PATCH] Fix the API annotation of IndicatorViewModifier --- SDWebImageSwiftUI/Classes/Indicator/Indicator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift b/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift index 0634e46..20d3aa7 100644 --- a/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift +++ b/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift @@ -40,10 +40,10 @@ public protocol IndicatorReportable : ObservableObject { public struct IndicatorViewModifier : ViewModifier where T : View, V : IndicatorReportable { /// The progress reporter - @ObservedObject var reporter: V + @ObservedObject public var reporter: V /// The indicator - var indicator: Indicator + public var indicator: Indicator public func body(content: Content) -> some View { ZStack {