Skip to content

Commit d908630

Browse files
authored
Re-add sharing of the content name with the "Share" command (#6957)
The title of the content is re-added as the EXTRA_SUBJECT of the share intent.
1 parent 556aad0 commit d908630

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • app/src/main/java/org/schabi/newpipe/util/external_communication

app/src/main/java/org/schabi/newpipe/util/external_communication/ShareUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ public static void shareText(@NonNull final Context context,
248248
shareIntent.putExtra(Intent.EXTRA_TEXT, content);
249249
if (!title.isEmpty()) {
250250
shareIntent.putExtra(Intent.EXTRA_TITLE, title);
251+
shareIntent.putExtra(Intent.EXTRA_SUBJECT, title);
251252
}
252253

253254
/* TODO: add the image of the content to Android share sheet with setClipData after

0 commit comments

Comments
 (0)