Merge pull request #9579 from osmandapp/Fix_wiki_shadow_lost

Fix "Wikipedia: shadow is lost"
This commit is contained in:
Vitaliy 2020-08-06 13:40:17 +03:00 committed by GitHub
commit 9d6501d8c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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