Skip to content

Commit 7ecc2d3

Browse files
author
Narong Aunthee
committed
Fixed old version compiler does not support automatic self capture in Xcode 14.2 and Swift 5.7.2
1 parent 5aa9473 commit 7ecc2d3

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)