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 073cdd98af
commit 75e883b67e

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;