Fix fc
This commit is contained in:
parent
505fb12209
commit
e3a6c686d3
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ public class DashTrackFragment extends DashBaseFragment {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateShowOnMap(final OsmandApplication app, final File f, View v, final ImageButton showOnMap) {
|
private void updateShowOnMap(final OsmandApplication app, final File f, final View pView, final ImageButton showOnMap) {
|
||||||
final GpxSelectionHelper selectedGpxHelper = app.getSelectedGpxHelper();
|
final GpxSelectionHelper selectedGpxHelper = app.getSelectedGpxHelper();
|
||||||
final SelectedGpxFile selected = selectedGpxHelper.getSelectedFileByPath(f.getAbsolutePath());
|
final SelectedGpxFile selected = selectedGpxHelper.getSelectedFileByPath(f.getAbsolutePath());
|
||||||
if(selected != null) {
|
if(selected != null) {
|
||||||
|
@ -169,7 +169,7 @@ public class DashTrackFragment extends DashBaseFragment {
|
||||||
AvailableGPXFragment.GpxInfo info = new AvailableGPXFragment.GpxInfo();
|
AvailableGPXFragment.GpxInfo info = new AvailableGPXFragment.GpxInfo();
|
||||||
info.subfolder = "";
|
info.subfolder = "";
|
||||||
info.file = f;
|
info.file = f;
|
||||||
AvailableGPXFragment.udpateGpxInfoView(v, info, app, true);
|
AvailableGPXFragment.udpateGpxInfoView(pView, info, app, true);
|
||||||
updateShowOnMap(app, f, v, showOnMap);
|
updateShowOnMap(app, f, v, showOnMap);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue