mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Startup: Instantiate FileManagerHistory properly
Ensures rotation doesn't crash, and actually rotates the FM, too. Fix #7617
This commit is contained in:
@@ -299,7 +299,9 @@ else
|
||||
if start_with == "history" then
|
||||
local FileManagerHistory = require("apps/filemanager/filemanagerhistory")
|
||||
UIManager:nextTick(function()
|
||||
FileManagerHistory:onShowHist()
|
||||
FileManagerHistory:new{
|
||||
ui = FileManager.instance,
|
||||
}:onShowHist()
|
||||
end)
|
||||
elseif start_with == "favorites" then
|
||||
local FileManagerCollection = require("apps/filemanager/filemanagercollection")
|
||||
|
||||
Reference in New Issue
Block a user