Fix "Wikipedia: shadow is lost"

This commit is contained in:
Nazar-Kutz 2020-08-06 13:36:41 +03:00
parent e6d26f5c19
commit b99441be32

View file

@ -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;
}