Merge pull request #9887 from osmandapp/gpx_extension

'.gpx' extension
This commit is contained in:
vshcherb 2020-09-24 13:17:50 +02:00 committed by GitHub
commit 91ca93e7ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ public class SaveAsNewTrackBottomSheetDialogFragment extends MenuBottomSheetDial
if (folderName != null && !dir.getName().equals(folderName)) { if (folderName != null && !dir.getName().equals(folderName)) {
source = new File(dir, folderName); source = new File(dir, folderName);
} }
source = new File(source, fileName + IndexConstants.GPX_FILE_EXT); source = new File(source, fileName);
return source; return source;
} }