Fix review

This commit is contained in:
Dima-1 2020-12-29 10:17:41 +02:00
parent 144f812f40
commit 75afb2b227
2 changed files with 0 additions and 2 deletions

View file

@ -182,7 +182,6 @@ public class ExploreRvAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
} }
public void addDownloadUpdateCard(TravelDownloadUpdateCard card) { public void addDownloadUpdateCard(TravelDownloadUpdateCard card) {
removeDownloadUpdateCard();
this.downloadCard = card; this.downloadCard = card;
if (addItem(getDownloadUpdateCardPosition(), card)) { if (addItem(getDownloadUpdateCardPosition(), card)) {
notifyDataSetChanged(); notifyDataSetChanged();

View file

@ -319,7 +319,6 @@ public class WikivoyageExploreActivity extends TabActivity implements DownloadEv
private void onDataLoaded() { private void onDataLoaded() {
switchProgressBarVisibility(false); switchProgressBarVisibility(false);
updateSearchBarVisibility(); updateSearchBarVisibility();
updateFragments();
} }
public void updateFragments() { public void updateFragments() {