We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89ccbb commit cf1721dCopy full SHA for cf1721d
SDWebImageSwiftUI/Classes/WebImage.swift
@@ -169,11 +169,12 @@ extension WebImage {
169
}
170
171
172
+// Indicator
173
extension WebImage {
174
175
/// Associate a indicator when loading image with url
176
/// - Parameter indicator: The indicator type, see `Indicator`
- public func indicator(_ indicator: Indicator) -> WebImage {
177
+ public func indicator(_ indicator: Indicator?) -> WebImage {
178
var result = self
179
result.indicator = indicator
180
return result
0 commit comments