Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Dec 8, 2023
1 parent 9a896f8 commit 23e99f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RevenueCatUI/Views/RemoteImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct RemoteImage: View {
}
}
.transition(Self.transition)
.task(id: self.url) {
.task(id: self.url) { // This cancels the previous task when the URL changes.
await self.loader.load(url: self.url)
}
}
Expand Down

0 comments on commit 23e99f2

Please sign in to comment.