diff --git a/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaPoiMenu.java b/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaPoiMenu.java index 876674dd37..28c2639a35 100644 --- a/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaPoiMenu.java +++ b/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaPoiMenu.java @@ -115,10 +115,6 @@ public class WikipediaPoiMenu { .hideDivider(true) .setLoading(true) .setListener(l).createItem()); - adapter.addItem(new ContextMenuItem.ItemBuilder() - .setLayout(R.layout.card_bottom_divider) - .setMinHeight(spaceHeight) - .createItem()); } else { try { IndexItem currentDownloadingItem = downloadThread.getCurrentDownloadingItem(); @@ -196,15 +192,15 @@ public class WikipediaPoiMenu { } adapter.addItem(itemBuilder.createItem()); } - adapter.addItem(new ContextMenuItem.ItemBuilder() - .setLayout(R.layout.card_bottom_divider) - .setMinHeight(spaceHeight) - .createItem()); } } catch (IOException e) { e.printStackTrace(); } } + adapter.addItem(new ContextMenuItem.ItemBuilder() + .setLayout(R.layout.card_bottom_divider) + .setMinHeight(spaceHeight) + .createItem()); return adapter; }