refactor out global functions showHomePage and showReaderUI

This commit is contained in:
chrox committed 2014-09-05 21:07:42 +08:00
1 parent c74c258fc7
commit 2bec0017a0
5 files changed
+77 -63

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ function ReaderMenu:init()
callback = function()
self.ui:onClose()
UIManager:quit()
local lastdir = G_reader_settings:readSetting("lastdir")
showHomePage(lastdir)
local FileManager = require("apps/filemanager/filemanager")
FileManager:showFiles()
end,
},
home = {