mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add reader history in the info panel
This commit is contained in:
@@ -39,6 +39,7 @@ local ReaderHyphenation = require("apps/reader/modules/readerhyphenation")
|
||||
local ReaderActivityIndicator = require("apps/reader/modules/readeractivityindicator")
|
||||
local ReaderLink = require("apps/reader/modules/readerlink")
|
||||
local PluginLoader = require("apps/reader/pluginloader")
|
||||
local FileManagerHistory = require("apps/filemanager/filemanagerhistory")
|
||||
|
||||
--[[
|
||||
This is an abstraction for a reader interface
|
||||
@@ -165,6 +166,12 @@ function ReaderUI:init()
|
||||
view = self.view,
|
||||
ui = self
|
||||
}, true)
|
||||
-- history view
|
||||
self:registerModule("history", FileManagerHistory:new{
|
||||
dialog = self.dialog,
|
||||
menu = self.menu,
|
||||
ui = self,
|
||||
})
|
||||
-- frontlight controller
|
||||
if Device:hasFrontlight() then
|
||||
self:registerModule("frontlight", ReaderFrontLight:new{
|
||||
|
||||
Reference in New Issue
Block a user