mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Annotations, part 1 (#11563)
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
This commit is contained in:
@@ -219,7 +219,7 @@ local footerTextGeneratorMap = {
|
||||
bookmark_count = function(footer)
|
||||
local symbol_type = footer.settings.item_prefix
|
||||
local prefix = symbol_prefix[symbol_type].bookmark_count
|
||||
local bookmark_count = footer.ui.bookmark:getNumberOfBookmarks()
|
||||
local bookmark_count = footer.ui.annotation:getNumberOfAnnotations()
|
||||
if footer.settings.all_at_once and footer.settings.hide_empty_generators and bookmark_count == 0 then
|
||||
return ""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user