Add DM button to profile
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -33,7 +33,7 @@ struct NoteContentView: View {
|
||||
let md_opts: AttributedString.MarkdownParsingOptions =
|
||||
.init(interpretedSyntax: .inlineOnlyPreservingWhitespace)
|
||||
|
||||
guard var txt = try? AttributedString(markdown: content, options: md_opts) else {
|
||||
guard let txt = try? AttributedString(markdown: content, options: md_opts) else {
|
||||
return Text(content)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user