mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-12 22:03:07 +02:00
Images/folders are deleted when tracks/waypoints are deleted.
This fixes #189.
This commit is contained in:
@@ -85,7 +85,7 @@ public class DeleteMarkerDialogFragment extends DialogFragment {
|
||||
public void run() {
|
||||
ContentProviderUtils contentProviderUtils = new ContentProviderUtils(fragmentActivity);
|
||||
for (long markerId : markerIds) {
|
||||
contentProviderUtils.deleteWaypoint(markerId);
|
||||
contentProviderUtils.deleteWaypoint(getContext(), markerId);
|
||||
}
|
||||
caller.onDeleteMarkerDone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user