From fc1eb326e84afb3b8c634dd346e799fa75ab2ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 4 Aug 2025 16:30:44 -0700 Subject: [PATCH] Render profile bios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: This brings us closer to feature parity with the master branch, so there is no changelog item to be added Closes: https://github.com/damus-io/damus/issues/3156 Changelog-None Signed-off-by: Daniel D’Aquino --- damus/Features/Profile/Views/AboutView.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/damus/Features/Profile/Views/AboutView.swift b/damus/Features/Profile/Views/AboutView.swift index ac3fc90c..01a57878 100644 --- a/damus/Features/Profile/Views/AboutView.swift +++ b/damus/Features/Profile/Views/AboutView.swift @@ -47,9 +47,8 @@ struct AboutView: View { } } .onAppear { - // TODO: Fix about content - //let blocks = ndb_parse_content(content: .content(about, nil)) - //about_string = render_blocks(blocks: blocks, profiles: state.profiles).content.attributed + guard let blocks = try? NdbBlockGroup.parse(content: about) else { return } + self.about_string = render_blocks(blocks: blocks, profiles: state.profiles).content.attributed } }