forked from upstream-mirrors/OpenTracks
Marker images can now be shared from the list directly via the context menu (like tracks).
Fixes #495.
This commit is contained in:
@@ -207,7 +207,7 @@ public class MarkerDetailFragment extends Fragment {
|
||||
|
||||
if (item.getItemId() == R.id.marker_detail_share) {
|
||||
if (marker.hasPhoto()) {
|
||||
Intent intent = IntentUtils.newShareImageIntent(getContext(), marker.getPhotoURI());
|
||||
Intent intent = IntentUtils.newShareFileIntent(getContext(), marker.getId());
|
||||
intent = Intent.createChooser(intent, null);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user