Bug fixed
This commit is contained in:
parent
987b0c6f6e
commit
e9f043d872
1 changed files with 1 additions and 1 deletions
|
@ -432,11 +432,11 @@ public class ImportHelper {
|
||||||
} else {
|
} else {
|
||||||
if (save) {
|
if (save) {
|
||||||
String existingFilePath = getExistingFilePath(name, fileSize);
|
String existingFilePath = getExistingFilePath(name, fileSize);
|
||||||
name = getNewName(name);
|
|
||||||
if (existingFilePath != null) {
|
if (existingFilePath != null) {
|
||||||
app.showToastMessage(R.string.file_already_imported);
|
app.showToastMessage(R.string.file_already_imported);
|
||||||
showGpxInDetailsActivity(existingFilePath);
|
showGpxInDetailsActivity(existingFilePath);
|
||||||
} else {
|
} else {
|
||||||
|
name = getNewName(name);
|
||||||
executeImportTask(new SaveAsyncTask(result, name, useImportDir, showInDetailsActivity));
|
executeImportTask(new SaveAsyncTask(result, name, useImportDir, showInDetailsActivity));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue