Performance: text_svg still isn't that great neither is video DnD: The cosmic DND solution still doesn't work consistently, so I will likely code my own trick.
This commit is contained in:
parent
79eff08add
commit
0c51e7a724
7 changed files with 136 additions and 20 deletions
|
@ -47,13 +47,12 @@ impl TryFrom<(Vec<u8>, String)> for ServiceItem {
|
|||
fn try_from(
|
||||
value: (Vec<u8>, String),
|
||||
) -> std::result::Result<Self, Self::Error> {
|
||||
let sto = value.0.to_owned();
|
||||
let song = Song {
|
||||
title: "Death Was Arrested".to_string(),
|
||||
..Default::default()
|
||||
};
|
||||
debug!(?value);
|
||||
Ok(Self::from(&song))
|
||||
let val = Value::from(
|
||||
String::from_utf8(value.0)
|
||||
.expect("Value couldn't be made"),
|
||||
);
|
||||
Ok(Self::from(&val))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue