mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix #2440
This commit is contained in:
@@ -233,7 +233,8 @@ function FileManager:init()
|
||||
{
|
||||
{
|
||||
text = _("Book information"),
|
||||
enabled = lfs.attributes(file, "mode") == "file" and true or false,
|
||||
enabled = lfs.attributes(file, "mode") == "file"
|
||||
and not DocumentRegistry:getProvider(file).is_pic and true or false,
|
||||
callback = function()
|
||||
local book_info_metadata = FileManager:bookInformation(file)
|
||||
if book_info_metadata then
|
||||
|
||||
Reference in New Issue
Block a user