test: fix asserts: client version parts, iOS client bitrate
This commit is contained in:
parent
45b9f2a627
commit
29a7db231a
5 changed files with 25 additions and 24 deletions
|
|
@ -476,15 +476,12 @@ impl TryFrom<TextComponent> for crate::model::ChannelId {
|
|||
match value {
|
||||
TextComponent::Browse {
|
||||
text,
|
||||
page_type,
|
||||
page_type: PageType::Channel | PageType::Artist,
|
||||
browse_id,
|
||||
} => match page_type {
|
||||
PageType::Channel | PageType::Artist => Ok(crate::model::ChannelId {
|
||||
id: browse_id,
|
||||
name: text,
|
||||
}),
|
||||
_ => Err(()),
|
||||
},
|
||||
} => Ok(crate::model::ChannelId {
|
||||
id: browse_id,
|
||||
name: text,
|
||||
}),
|
||||
_ => Err(()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue