Add DM button to profile

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-07-03 09:23:08 -07:00
parent 471f29f7ea
commit 366293315d
10 changed files with 102 additions and 37 deletions

View File

@@ -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)
}