Skip to content

Commit

Permalink
Improve profile URL sharing experience
Browse files Browse the repository at this point in the history
Fixes sharing profile URL to apps like Telegram.
  • Loading branch information
luk1337 committed Dec 23, 2021
1 parent 60116bf commit 878199d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
intent.putExtra(Intent.EXTRA_TEXT, String.format(Locale.getDefault(),
"https://anilist.co/user/%s", model.getName()));
intent.setType("text/plain");
startActivity(intent);
startActivity(Intent.createChooser(intent, getString(R.string.abc_shareactionprovider_share_with)));
} else
NotifyUtil.INSTANCE.makeText(this, R.string.text_activity_loading, Toast.LENGTH_SHORT).show();
return true;
Expand Down

0 comments on commit 878199d

Please sign in to comment.