Edit marker: if user deletes photo then photo is deleted from internal storage too. Fixes #208.

This commit is contained in:
Román
2020-05-02 16:23:37 +02:00
committed by Dennis Guse
parent f75a48ccab
commit 5be4129ba9
3 changed files with 141 additions and 17 deletions
@@ -315,6 +315,6 @@ public class MarkerEditActivity extends AbstractActivity {
waypoint.setDescription(waypointDescription.getText().toString());
waypoint.setPhotoUrl(photoUri != null ? photoUri.toString() : null);
new ContentProviderUtils(this).updateWaypoint(waypoint);
new ContentProviderUtils(this).updateWaypoint(this, waypoint);
}
}