|
|
@@ -38,8 +38,11 @@ public protocol KFImageProtocol: View, KFOptionSetter {
|
|
|
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
|
|
|
extension KFImageProtocol {
|
|
|
public var body: some View {
|
|
|
- KFImageRenderer<HoldingView>(context: context)
|
|
|
- .id(context)
|
|
|
+ ZStack {
|
|
|
+ KFImageRenderer<HoldingView>(
|
|
|
+ context: context
|
|
|
+ ).id(context)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/// Creates a Kingfisher compatible image view to load image from the given `Source`.
|