Skip to content

Commit 8551c59

Browse files
committed
NetworkImage++
1 parent 731cf27 commit 8551c59

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MarkdownUI.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let package = Package(
3030
.package(
3131
name: "NetworkImage",
3232
url: "https://github.com/gonzalezreal/NetworkImage",
33-
from: "2.1.0"
33+
from: "3.0.1"
3434
),
3535
.package(url: "https://github.com/pointfreeco/combine-schedulers", from: "0.1.2"),
3636
.package(

Sources/MarkdownUI/Shared/MarkdownRenderer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575

7676
let textAttachmentPairs = attachmentURLs.map { url in
77-
ImageDownloader.shared.image(for: url).map { image -> (String, NSTextAttachment) in
77+
NetworkImageLoader.shared.image(for: url).map { image -> (String, NSTextAttachment) in
7878
let attachment = ImageAttachment()
7979
attachment.image = image
8080

0 commit comments

Comments
 (0)