diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java b/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java index 4972ef35c8..b2a9dc7ab2 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/search/SearchRecyclerViewAdapter.java @@ -89,9 +89,8 @@ public class SearchRecyclerViewAdapter extends RecyclerView.Adapter items) { - if (items == null || items.isEmpty()) { - this.items.clear(); - } else { + this.items.clear(); + if (items != null && !items.isEmpty()) { this.items.add(app.getString(R.string.shared_string_result)); this.items.addAll(items); }