Merge pull request #9579 from osmandapp/Fix_wiki_shadow_lost
Fix "Wikipedia: shadow is lost"
This commit is contained in:
commit
9d6501d8c3
1 changed files with 4 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue