mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Disable Current book when statistics are disabled (#3210)
This commit is contained in:
@@ -624,7 +624,7 @@ function ReaderStatistics:addToMainMenu(menu_items)
|
||||
kv_pairs = self:getCurrentStat(self.id_curr_book),
|
||||
})
|
||||
end,
|
||||
enabled = not self:isDocless()
|
||||
enabled_func = function() return not self:isDocless() and self.is_enabled end,
|
||||
},
|
||||
{
|
||||
text = _("All books"),
|
||||
|
||||
Reference in New Issue
Block a user