mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Fix for #1437 :Button that opens Google Maps shows always only the coordinates of the first chosen mark (#1446)
This commit is contained in:
parent
8b118b309c
commit
108ca26967
1 changed files with 1 additions and 1 deletions
|
|
@ -671,7 +671,7 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
|
||||
directionsButton.setOnClickListener(view -> {
|
||||
//Open map app at given position
|
||||
Intent mapIntent = new Intent(Intent.ACTION_VIEW, place.location.getGmmIntentUri());
|
||||
Intent mapIntent = new Intent(Intent.ACTION_VIEW, this.place.location.getGmmIntentUri());
|
||||
if (mapIntent.resolveActivity(getActivity().getPackageManager()) != null) {
|
||||
startActivity(mapIntent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue