1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

Merge branch 'master' into ice-cream-sandwich

This commit is contained in:
Nikolay Pultsin 2015-01-15 15:41:30 +00:00
commit 8e84aa3d9b
8 changed files with 43 additions and 21 deletions

View file

@ -204,7 +204,7 @@ public class LibraryActivity extends TreeActivity<LibraryTree> implements MenuIt
} else {
menu.add(0, ContextItemId.MarkAsRead, 0, resource.getResource("markAsRead").getValue());
}
if (BookUtil.canRemoveBookFile(book)) {
if (myCollection.canRemoveBook(book, true)) {
menu.add(0, ContextItemId.DeleteBook, 0, resource.getResource("deleteBook").getValue());
}
if (labels.contains(Book.SYNC_DELETED_LABEL)) {