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 28986d5 commit 140bf0bCopy full SHA for 140bf0b
SDWebImageSwiftUI/Classes/WebImage.swift
@@ -144,7 +144,7 @@ extension WebImage {
144
/// Associate a placeholder when loading image with url
145
/// - note: The differences between Placeholder and Indicator, is that placeholder does not supports animation, and return type is different
146
/// - Parameter content: A view that describes the placeholder.
147
- public func placeholder<T>(@ViewBuilder _ content: () -> T) -> WebImage where T : View {
+ public func placeholder<T>(@ViewBuilder content: () -> T) -> WebImage where T : View {
148
var result = self
149
result.placeholder = AnyView(content())
150
return result
0 commit comments