Skip to content

Commit 6c27d02

Browse files
authored
Merge pull request #340 from softmastx/xcode-4-2-swift-5-7-2
Fixed old version compiler does not support automatic self capture in Xcode 14.2 and Swift 5.7.2
2 parents 5aa9473 + 7ecc2d3 commit 6c27d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDWebImageSwiftUI/Classes/ImageManager.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public final class ImageManager : ObservableObject {
107107
// So previous View struct call `onDisappear` and cancel the currentOperation
108108
return
109109
}
110-
withTransaction(transaction) {
110+
withTransaction(self.transaction) {
111111
self.image = image
112112
self.error = error
113113
self.isIncremental = !finished

0 commit comments

Comments
 (0)