update the public API for AnimatedImage
This commit is contained in:
parent
baeaa557c0
commit
e7914c0808
|
@ -18,7 +18,7 @@ EXTERNAL SOURCES:
|
|||
|
||||
SPEC CHECKSUMS:
|
||||
SDWebImage: fb387001955223213dde14bc08c8b73f371f8d8f
|
||||
SDWebImageSwiftUI: b872d00c12aa224eb0c092d5ef2d7a8d4ddfb28f
|
||||
SDWebImageSwiftUI: 6ea3735551d25e99fdaaef00f8bcd20741e7ce95
|
||||
|
||||
PODFILE CHECKSUM: 146734166216dd8fc1597433cc675999454ed4b2
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@ public struct AnimatedImage: UIViewRepresentable {
|
|||
var data: Data?
|
||||
var scale: Length = 0
|
||||
|
||||
public init(url: URL?) {
|
||||
public init(url: URL, placeholder: Image? = nil, options: SDWebImageOptions = [], context: [SDWebImageContextOption : Any]? = nil) {
|
||||
self.url = url
|
||||
}
|
||||
|
||||
public init(name: String?, bundle: Bundle? = nil) {
|
||||
public init(name: String, bundle: Bundle? = nil) {
|
||||
self.name = name
|
||||
self.bundle = bundle
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue