damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit fc1eb326e84afb3b8c634dd346e799fa75ab2ac5
parent 5e420187e012d972a6941c4c84cd2faf028d1e13
Author: Daniel D’Aquino <daniel@daquino.me>
Date:   Mon,  4 Aug 2025 16:30:44 -0700

Render profile bios

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 <daniel@daquino.me>

Diffstat:
Mdamus/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 @@ -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 } }