Bug fixed

This commit is contained in:
androiddevkotlin 2021-04-24 14:42:13 +03:00
parent 987b0c6f6e
commit e9f043d872

View file

@ -432,11 +432,11 @@ public class ImportHelper {
} else {
if (save) {
String existingFilePath = getExistingFilePath(name, fileSize);
name = getNewName(name);
if (existingFilePath != null) {
app.showToastMessage(R.string.file_already_imported);
showGpxInDetailsActivity(existingFilePath);
} else {
name = getNewName(name);
executeImportTask(new SaveAsyncTask(result, name, useImportDir, showInDetailsActivity));
}
} else {