Fix share link for YouTube playlists

This commit is contained in:
vfsfitvnm 2022-06-06 20:22:27 +02:00
parent b11d5d30d0
commit 756eb48176

View file

@ -194,7 +194,8 @@ fun PlaylistOrAlbumScreen(
onClick = {
menuState.hide()
playlistOrAlbum.valueOrNull?.url?.let { url ->
(playlistOrAlbum.valueOrNull?.url
?: "https://music.youtube.com/playlist?list=${browseId.removePrefix("VL")}").let { url ->
val sendIntent = Intent().apply {
action = Intent.ACTION_SEND
type = "text/plain"