Fix issue

This commit is contained in:
Victor Shcherb 2020-09-24 13:47:22 +02:00
parent c8ce69c68b
commit 0747bb5320

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); source = new File(source, fileName + IndexConstants.GPX_FILE_EXT);
return source; return source;
} }