Fix writing gpx file

This commit is contained in:
crimean 2019-04-14 21:45:08 +03:00
parent aa97a49ce8
commit c896b4714a

View file

@ -381,7 +381,7 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
it.remove();
}
}
if (file.tracks.size() == 0) {
if (file.isEmpty()) {
datesToRemove.add(entry.getKey());
}
}