Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions spotify_player/src/event/popup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ fn handle_nth_action(
ui.popup = None;
}
TrackAction::CopyTrackLink => {
let track_url = format!("http://open.spotify.com/track/{}", track.id.id());
let track_url = format!("https://open.spotify.com/track/{}", track.id.id());
execute_copy_command(&state.app_config.copy_command, track_url)?;
ui.popup = None;
}
Expand Down Expand Up @@ -638,7 +638,7 @@ fn handle_nth_action(
));
}
AlbumAction::CopyAlbumLink => {
let album_url = format!("http://open.spotify.com/album/{}", album.id.id());
let album_url = format!("https://open.spotify.com/album/{}", album.id.id());
execute_copy_command(&state.app_config.copy_command, album_url)?;
ui.popup = None;
}
Expand Down Expand Up @@ -666,7 +666,7 @@ fn handle_nth_action(
})?;
}
ArtistAction::CopyArtistLink => {
let artist_url = format!("http://open.spotify.com/artist/{}", artist.id.id());
let artist_url = format!("https://open.spotify.com/artist/{}", artist.id.id());
execute_copy_command(&state.app_config.copy_command, artist_url)?;
ui.popup = None;
}
Expand All @@ -690,7 +690,8 @@ fn handle_nth_action(
})?;
}
PlaylistAction::CopyPlaylistLink => {
let playlist_url = format!("http://open.spotify.com/playlist/{}", playlist.id.id());
let playlist_url =
format!("https://open.spotify.com/playlist/{}", playlist.id.id());
execute_copy_command(&state.app_config.copy_command, playlist_url)?;
ui.popup = None;
}
Expand Down