From 86e722b8b0e5001ea74aca5a580a25057107c164 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Sun, 14 Apr 2024 09:19:23 +0300 Subject: [PATCH] readerfooter: annotations info methods --- frontend/apps/reader/modules/readerfooter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/reader/modules/readerfooter.lua b/frontend/apps/reader/modules/readerfooter.lua index 0a9fcd5e5..f23507ac6 100644 --- a/frontend/apps/reader/modules/readerfooter.lua +++ b/frontend/apps/reader/modules/readerfooter.lua @@ -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