Skip to content

Commit 098f60d

Browse files
committed
Don't add the title when sharing as YouTube temp playlist
1 parent eb05680 commit 098f60d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,12 @@ private void sharePlaylist(final PlayListShareMode shareMode) {
411411
.subscribe(
412412
urlsText -> {
413413

414-
final String content = shareMode == JUST_URLS
415-
? urlsText
416-
: context.getString(R.string.share_playlist_content_details,
414+
final String content = shareMode == WITH_TITLES
415+
? context.getString(R.string.share_playlist_content_details,
417416
name,
418417
urlsText
419-
);
418+
)
419+
: urlsText;
420420

421421
ShareUtils.shareText(context, name, content);
422422
},

0 commit comments

Comments
 (0)