fix name for unnamed waypoints
This commit is contained in:
parent
2561ee99e1
commit
e420cdb3ec
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue