[fix] Distinguish bookmark/page flipping in menu (#5266)

Fixes <https://github.com/koreader/koreader/issues/5265>.
This commit is contained in:
Frans de Jonge
2019-08-27 14:07:14 +02:00
committed by GitHub
parent ec25cea01d
commit 2104bb6f98
2 changed files with 6 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ function ReaderBookmark:addToMainMenu(menu_items)
if self.ui.document.info.has_pages then
menu_items.bookmark_browsing_mode = {
text = self.bbm_menu_title,
checked_func = function() return self.view.flipping_visible end,
checked_func = function() return self.ui.paging.bookmark_flipping_mode end,
callback = function(touchmenu_instance)
self:enableBookmarkBrowsingMode()
touchmenu_instance:closeMenu()