[fix] Allow default FM rotation on init when Keep FM rotation is disabled (#6348)

This commit is contained in:
yparitcher authored and GitHub committed 2020-07-05 17:34:44 +02:00
1 parent 8a61e70fad
commit 8f2399caa9
2 files changed
+6 -3

No files matched your search

+1
View File
@@ -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