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:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user