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>
This commit is contained in:
Daniel D’Aquino
2025-08-04 16:30:44 -07:00
parent 5e420187e0
commit fc1eb326e8

View File

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