Marker images can now be shared from the list directly via the context menu (like tracks).

Fixes #495.
This commit is contained in:
Dennis Guse
2020-12-19 18:01:08 +01:00
parent 4714171e21
commit eb02c4c469
3 changed files with 49 additions and 17 deletions
@@ -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);
}