Explorar o código

added an attribute to fix error on mac catalyst

kviatkovskii %!s(int64=4) %!d(string=hai) anos
pai
achega
8319f6fd62
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Sources/SwiftUI/KFImage.swift

+ 1 - 0
Sources/SwiftUI/KFImage.swift

@@ -161,6 +161,7 @@ struct KFImageRenderer: View {
     }
 
     /// Declares the content and behavior of this view.
+    @ViewBuilder
     var body: some View {
         if let image = binder.loadedImage {
             configurations