kopia lustrzana https://github.com/TeamNewPipe/NewPipe
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.pull/7002/head
rodzic
556aad0114
commit
d9086300f3
|
@ -248,6 +248,7 @@ public final class ShareUtils {
|
||||||
shareIntent.putExtra(Intent.EXTRA_TEXT, content);
|
shareIntent.putExtra(Intent.EXTRA_TEXT, content);
|
||||||
if (!title.isEmpty()) {
|
if (!title.isEmpty()) {
|
||||||
shareIntent.putExtra(Intent.EXTRA_TITLE, title);
|
shareIntent.putExtra(Intent.EXTRA_TITLE, title);
|
||||||
|
shareIntent.putExtra(Intent.EXTRA_SUBJECT, title);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: add the image of the content to Android share sheet with setClipData after
|
/* TODO: add the image of the content to Android share sheet with setClipData after
|
||||||
|
|
Ładowanie…
Reference in New Issue