mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 12:00:17 +02:00
IBookCollection.canRemoveBook() method
This commit is contained in:
parent
f5504de03a
commit
e85bfcde29
7 changed files with 42 additions and 20 deletions
|
@ -203,7 +203,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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue