Merge pull request #10498 from osmandapp/track-is-saved

After add to track: show "track is saved" bottom sheet.
This commit is contained in:
Vitaliy 2020-12-30 18:44:43 +02:00 committed by GitHub
commit 1c2aaaf827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1211,7 +1211,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment implements Route
SelectedGpxFile selectedGpxFile = mapActivity.getMyApplication().getSelectedGpxHelper()
.getSelectedFileByPath(gpxFile.path);
boolean showOnMap = selectedGpxFile != null;
saveExistingGpx(gpxFile, showOnMap, false, true, FinalSaveAction.SHOW_TOAST);
saveExistingGpx(gpxFile, showOnMap, false, true, FinalSaveAction.SHOW_IS_SAVED_FRAGMENT);
}
}