fix name for unnamed waypoints

This commit is contained in:
Skalii 2021-02-23 10:46:11 +02:00
parent 2561ee99e1
commit e420cdb3ec

View file

@ -674,7 +674,7 @@ public class ImportHelper {
List<FavouritePoint> favourites = new ArrayList<>();
for (WptPt p : wptPts) {
if (Algorithms.isEmpty(p.name)) {
p.name = Algorithms.getFileNameWithoutExtension(fileName);
p.name = app.getResources().getString(R.string.shared_string_waypoint);
}
if (!Algorithms.isEmpty(p.name)) {
final String fpCat;