Fix title of the subject when sharing an URL

This commit is contained in:
TiA4f8R 2021-03-18 19:19:41 +01:00
parent c972940338
commit 2fb86364ab
No known key found for this signature in database
GPG key ID: E6D3E7F5949450DD
2 changed files with 11 additions and 3 deletions

View file

@ -234,7 +234,7 @@ public class RouterActivity extends AppCompatActivity {
.setPositiveButton(R.string.open_in_browser,
(dialog, which) -> ShareUtils.openUrlInBrowser(this, url))
.setNegativeButton(R.string.share,
(dialog, which) -> ShareUtils.shareText(this, "", url)) // no subject
(dialog, which) -> ShareUtils.shareText(this, "", url, false)) //no subject
.setNeutralButton(R.string.cancel, null)
.setOnDismissListener(dialog -> finish())
.show();