mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Merge remote-tracking branch 'refs/remotes/commons-app/2.7.x-release' into 2.7.x-release-fork
This commit is contained in:
commit
c18df27316
1 changed files with 1 additions and 1 deletions
|
|
@ -671,7 +671,7 @@ public class NearbyMapFragment extends DaggerFragment {
|
||||||
|
|
||||||
directionsButton.setOnClickListener(view -> {
|
directionsButton.setOnClickListener(view -> {
|
||||||
//Open map app at given position
|
//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) {
|
if (mapIntent.resolveActivity(getActivity().getPackageManager()) != null) {
|
||||||
startActivity(mapIntent);
|
startActivity(mapIntent);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue