Fix an error and add a new method in the ShareUtils class
Fix the error due to the rebase on the dev branch of this branch Add a shareText method in the ShareUtils class which has 3 parameters and calls the original shareText method with an empty string for the imagePreviewUrl param.
This commit is contained in:
parent
da4d379b22
commit
f02df6d80c
3 changed files with 20 additions and 2 deletions
|
|
@ -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)) // no subject
|
||||
.setNeutralButton(R.string.cancel, null)
|
||||
.setOnDismissListener(dialog -> finish())
|
||||
.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue