remove check fpr visible group

This commit is contained in:
Chumva 2018-04-17 13:55:45 +03:00
parent 055c3b1119
commit ab2b025761

View file

@ -432,9 +432,6 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
final MapMarkersHelper mapMarkersHelper = app.getMapMarkersHelper(); final MapMarkersHelper mapMarkersHelper = app.getMapMarkersHelper();
final GPXFile[] gpxFile = new GPXFile[1]; final GPXFile[] gpxFile = new GPXFile[1];
boolean disabled = !enabled; boolean disabled = !enabled;
if(group.isVisible()){
group.setWasShown(true);
}
if (groupIsDisabled && !group.wasShown() && group.getWptCategoriesString() != null) { if (groupIsDisabled && !group.wasShown() && group.getWptCategoriesString() != null) {
group.setWasShown(true); group.setWasShown(true);
Bundle args = new Bundle(); Bundle args = new Bundle();