Pārlūkot izejas kodu

Merge pull request #1692 from kvyatkovskys/feature/catalyst-fix

added an attribute to fix error on mac catalyst
Wei Wang 4 gadi atpakaļ
vecāks
revīzija
7af80eb267
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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