Update AvailableGPXFragment.java
This commit is contained in:
parent
16d1388bac
commit
7ac6e42795
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String formatName(String name) {
|
private String formatName(String name) {
|
||||||
int ext = name.indexOf('.');
|
int ext = name.lastIndexOf('.');
|
||||||
if (ext != -1) {
|
if (ext != -1) {
|
||||||
name = name.substring(0, ext);
|
name = name.substring(0, ext);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue