mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-20 21:06:32 +00:00
proper share link chooser
This commit is contained in:
parent
f04a5bd2c6
commit
4a93d65253
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
|||
final Intent sharingIntent = new Intent(Intent.ACTION_SEND);
|
||||
sharingIntent.setType("text/plain");
|
||||
sharingIntent.putExtra(Intent.EXTRA_TEXT, "https://instagram.com/" + profileModel.getUsername());
|
||||
startActivity(sharingIntent);
|
||||
startActivity(Intent.createChooser(sharingIntent, null));
|
||||
return true;
|
||||
} else if (itemId == R.id.share_dm) {
|
||||
// final UserSearchNavGraphDirections.ActionGlobalUserSearch actionGlobalUserSearch = UserSearchFragmentDirections
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue