one more instance

This commit is contained in:
sonora 2015-01-18 23:01:24 +01:00
parent af96928261
commit fafb754c42

View file

@ -811,7 +811,9 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
// search from end
for (int i = category.size() - 1; i >= 0; i--) {
String cat = category.get(i);
if (Algorithms.objectEquals(getActivity().getString(R.string.local_indexes_cat_gpx) + " " + g.subfolder, cat)) {
//local_indexes_cat_gpx now obsolete in new UI screen which shows only GPX data
//if (Algorithms.objectEquals(getActivity().getString(R.string.local_indexes_cat_gpx) + " " + g.subfolder, cat)) {
if (Algorithms.objectEquals("" + g.subfolder, cat)) {
found = i;
break;
}