mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-07 20:30:28 +03:00
Fix issue #501 - Disabling "attach media when sharing" not honored
This commit is contained in:
parent
5160cd65c5
commit
e8018a6560
1 changed files with 3 additions and 1 deletions
|
@ -949,7 +949,9 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
||||||
runOnUiThread(() -> {
|
runOnUiThread(() -> {
|
||||||
Bundle b = new Bundle();
|
Bundle b = new Bundle();
|
||||||
b.putString(Helper.ARG_SHARE_URL, url[0]);
|
b.putString(Helper.ARG_SHARE_URL, url[0]);
|
||||||
b.putString(Helper.ARG_SHARE_URL_MEDIA, finalImage);
|
if (fetchSharedMedia) {
|
||||||
|
b.putString(Helper.ARG_SHARE_URL_MEDIA, finalImage);
|
||||||
|
}
|
||||||
b.putString(Helper.ARG_SHARE_TITLE, finalTitle);
|
b.putString(Helper.ARG_SHARE_TITLE, finalTitle);
|
||||||
b.putString(Helper.ARG_SHARE_DESCRIPTION, finalDescription);
|
b.putString(Helper.ARG_SHARE_DESCRIPTION, finalDescription);
|
||||||
b.putString(Helper.ARG_SHARE_SUBJECT, sharedSubject);
|
b.putString(Helper.ARG_SHARE_SUBJECT, sharedSubject);
|
||||||
|
|
Loading…
Reference in a new issue