From 710b9f08c16e59523e6ac281148acd70dbdd970d Mon Sep 17 00:00:00 2001 From: Levi Bard Date: Tue, 25 Feb 2020 19:58:20 +0100 Subject: [PATCH] Add status url as EXTRA_SUBJECT when sharing status content. (#1680) Addresses #1655 --- .../main/java/com/keylesspalace/tusky/fragment/SFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java index bbee3c07e..4f795f183 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java @@ -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;