Skip to content

Commit

Permalink
Update MarkdownView (closes thebaselab#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
bummoblizard committed Jan 18, 2023
1 parent 0767c82 commit a9309b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"repositoryURL": "https://github.com/thebaselab/MarkdownView",
"state": {
"branch": "master",
"revision": "bef8e65112ea8a69ba2de4118b1545c10bb7b3f5",
"revision": "5da6e93bfe211ebe4ea8876345fe6afedee9ca8e",
"version": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion CodeApp/Views/MarkdownView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct SimpleMarkDownView: UIViewRepresentable {

func makeUIView(context: Context) -> MarkdownView {
let md = MarkdownView()
md.load(markdown: text, backgroundColor: UIColor(Color.init(id: "editor.background")))
md.load(markdown: text, backgroundColor: UIColor(id: "editor.background"))
md.onTouchLink = { request in
guard let url = request.url else { return false }
UIApplication.shared.open(url)
Expand Down

0 comments on commit a9309b0

Please sign in to comment.