Skip to content

Commit

Permalink
Fix url to share the current album/show (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeFran authored Jan 6, 2021
1 parent 03046af commit eb11470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ impl App {
PlayingItem::Track(track) => {
if let Err(e) = clipboard.set_contents(format!(
"https://open.spotify.com/album/{}",
track.id.to_owned().unwrap_or_default()
track.album.id.to_owned().unwrap_or_default()
)) {
self.handle_error(anyhow!("failed to set clipboard content: {}", e));
}
Expand Down

0 comments on commit eb11470

Please sign in to comment.