mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix] Allow default FM rotation on init when Keep FM rotation is disabled (#6348)
This commit is contained in:
@@ -277,6 +277,7 @@ if ARGV[argidx] and ARGV[argidx] ~= "" then
|
||||
local home_dir =
|
||||
G_reader_settings:readSetting("home_dir") or ARGV[argidx]
|
||||
UIManager:nextTick(function()
|
||||
FileManager:setRotationMode(true)
|
||||
FileManager:showFiles(home_dir)
|
||||
end)
|
||||
-- always open history on top of filemanager so closing history
|
||||
|
||||
Reference in New Issue
Block a user