Skip to content

Commit

Permalink
Fix for #1437 :Button that opens Google Maps shows always only the co…
Browse files Browse the repository at this point in the history
…ordinates of the first chosen mark (#1446)
  • Loading branch information
kamilya35231 authored and misaochan committed Apr 19, 2018
1 parent 8b118b3 commit 108ca26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ private void passInfoToSheet(Place place) {

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);
}
Expand Down

0 comments on commit 108ca26

Please sign in to comment.