Skip to content

Commit 66dccec

Browse files
authored
Fix deprecation message (#214)
1 parent a6aeec4 commit 66dccec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/MarkdownUI/Utility/Deprecations.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ extension View {
6565
@available(
6666
*,
6767
unavailable,
68-
message:
69-
"""
70-
"MarkdownImageHandler" has been superseded by the "ImageProvider" protocol and its conforming
71-
types "DefaultImageProvider" and "AssetImageProvider".
72-
"""
68+
message: "You can create a custom link action by overriding the \"openURL\" environment value."
7369
)
7470
public func onOpenMarkdownLink(perform action: ((URL) -> Void)? = nil) -> some View {
7571
self

0 commit comments

Comments
 (0)