Fix #3531
This commit is contained in:
parent
a063e4f43d
commit
89c6a62756
2 changed files with 3 additions and 2 deletions
|
@ -210,7 +210,8 @@ public class GPXDatabase {
|
|||
}
|
||||
|
||||
private String getFileDir(File itemFile) {
|
||||
return itemFile.getParentFile().equals(context.getAppPath(IndexConstants.GPX_INDEX_DIR)) ?
|
||||
return itemFile.getParentFile() == null ||
|
||||
itemFile.getParentFile().equals(context.getAppPath(IndexConstants.GPX_INDEX_DIR)) ?
|
||||
"" : itemFile.getParentFile().getName();
|
||||
}
|
||||
|
||||
|
|
|
@ -1014,7 +1014,7 @@ public class GpxUiHelper {
|
|||
return (int)value + " " + mainUnitY;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
List<Entry> values = new ArrayList<>();
|
||||
List<Elevation> elevationData = analysis.elevationData;
|
||||
float nextX = 0;
|
||||
|
|
Loading…
Reference in a new issue