Refactor: Make Spotify cloneable

This commit is contained in:
Henrik Friedrichsen
2021-04-03 22:35:08 +02:00
parent 8483653cde
commit 0f573f8247
14 changed files with 49 additions and 62 deletions

View File

@@ -21,7 +21,7 @@ pub struct Show {
}
impl Show {
pub fn load_episodes(&mut self, spotify: Arc<Spotify>) {
pub fn load_episodes(&mut self, spotify: Spotify) {
if self.episodes.is_some() {
return;
}