mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-06 03:23:07 +02:00
Marker is now a record.
This commit is contained in:
@@ -94,14 +94,14 @@ public class ShareUtils {
|
||||
Log.e(TAG, "MarkerId " + markerId.id() + " could not be resolved.");
|
||||
continue;
|
||||
}
|
||||
if (marker.getPhotoUrl() == null) {
|
||||
if (marker.photoUrl() == null) {
|
||||
Log.e(TAG, "MarkerId " + markerId.id() + " has no picture.");
|
||||
continue;
|
||||
}
|
||||
|
||||
mime = context.getContentResolver().getType(marker.getPhotoUrl());
|
||||
mime = context.getContentResolver().getType(marker.photoUrl());
|
||||
|
||||
uris.add(marker.getPhotoUrl());
|
||||
uris.add(marker.photoUrl());
|
||||
}
|
||||
|
||||
if (uris.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user