Fix share link for YouTube playlists
This commit is contained in:
@@ -194,7 +194,8 @@ fun PlaylistOrAlbumScreen(
|
|||||||
onClick = {
|
onClick = {
|
||||||
menuState.hide()
|
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 {
|
val sendIntent = Intent().apply {
|
||||||
action = Intent.ACTION_SEND
|
action = Intent.ACTION_SEND
|
||||||
type = "text/plain"
|
type = "text/plain"
|
||||||
|
|||||||
Reference in New Issue
Block a user