refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
This commit is contained in:
1 parent
101a7f6d96
commit
e714caed8d
3 files changed
+8
-11
No files matched your search
@@ -43,7 +43,10 @@ function ReaderMenu:init()
|
||||
callback = function()
|
||||
self.ui:onClose()
|
||||
self:onTapCloseMenu()
|
||||
-- screen orientation is independent for docview and filemanager
|
||||
-- so we need to restore the screen mode for the filemanager
|
||||
local FileManager = require("apps/filemanager/filemanager")
|
||||
FileManager:restoreScreenMode()
|
||||
if not FileManager.is_running then
|
||||
UIManager:quit()
|
||||
FileManager:showFiles()
|
||||
|
||||
Reference in new issue
Block a user