Add status url as EXTRA_SUBJECT when sharing status content. (#1680)

Addresses #1655
This commit is contained in:
Levi Bard 2020-02-25 19:58:20 +01:00 committed by GitHub
parent 656644b7cb
commit 710b9f08c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ public abstract class SFragment extends BaseFragment implements Injectable {
" - " +
statusToShare.getContent().toString();
sendIntent.putExtra(Intent.EXTRA_TEXT, stringToShare);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, statusUrl);
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_status_content_to)));
return true;