Skip to content

Commit

Permalink
Merge pull request #340 from softmastx/xcode-4-2-swift-5-7-2
Browse files Browse the repository at this point in the history
Fixed old version compiler does not support automatic self capture in Xcode 14.2 and Swift 5.7.2
  • Loading branch information
dreampiggy authored Nov 6, 2024
2 parents 5aa9473 + 7ecc2d3 commit 6c27d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImageSwiftUI/Classes/ImageManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public final class ImageManager : ObservableObject {
// So previous View struct call `onDisappear` and cancel the currentOperation
return
}
withTransaction(transaction) {
withTransaction(self.transaction) {
self.image = image
self.error = error
self.isIncremental = !finished
Expand Down

0 comments on commit 6c27d02

Please sign in to comment.