feat: add text formatting (bold/italic/strikethrough)
This commit is contained in:
parent
449fc0128e
commit
b8825f9199
10 changed files with 858 additions and 145 deletions
|
|
@ -156,7 +156,7 @@ impl MapResponse<Playlist> for response::Playlist {
|
|||
header
|
||||
.playlist_header_renderer
|
||||
.description_text
|
||||
.map(|text| TextComponents(vec![TextComponent::Text { text }]))
|
||||
.map(|text| TextComponents(vec![TextComponent::new(text)]))
|
||||
})
|
||||
.map(RichText::from);
|
||||
let channel = header
|
||||
|
|
|
|||
Reference in a new issue