removed variable

This commit is contained in:
Chumva 2018-04-25 20:00:08 +03:00
parent bfefdecaf8
commit d77a7536a3

View file

@ -35,7 +35,6 @@ public class ExploreTabFragment extends BaseOsmAndFragment {
private static final int DOWNLOAD_UPDATE_CARD_POSITION = 0; private static final int DOWNLOAD_UPDATE_CARD_POSITION = 0;
private ExploreRvAdapter adapter = new ExploreRvAdapter(); private ExploreRvAdapter adapter = new ExploreRvAdapter();
private PopularDestinationsSearchTask popularDestinationsSearchTask;
private StartEditingTravelCard startEditingTravelCard; private StartEditingTravelCard startEditingTravelCard;
private ProgressBar progressBar; private ProgressBar progressBar;
@ -84,7 +83,7 @@ public class ExploreTabFragment extends BaseOsmAndFragment {
} }
private void addPopularDestinations(OsmandApplication app, boolean nightMode) { private void addPopularDestinations(OsmandApplication app, boolean nightMode) {
popularDestinationsSearchTask = new PopularDestinationsSearchTask(app.getTravelDbHelper(), getMyActivity(), adapter, nightMode, startEditingTravelCard, progressBar); PopularDestinationsSearchTask popularDestinationsSearchTask = new PopularDestinationsSearchTask(app.getTravelDbHelper(), getMyActivity(), adapter, nightMode, startEditingTravelCard, progressBar);
popularDestinationsSearchTask.execute(); popularDestinationsSearchTask.execute();
} }