mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Don't try to set the value of fm_screen_mode
I'm not sure what the original intention was, but in practice, the user experience regarding the way this setting is saved is horrible: it seems to change randomly and once the orientation is changed from portrait to landscape, the only way to fix it is to edit `settings.reader.lua`.
This commit is contained in:
committed by
Qingping Hou
parent
58b6c94a8d
commit
b3d58fba00
@@ -330,7 +330,6 @@ end
|
||||
|
||||
function FileManager:onClose()
|
||||
DEBUG("close filemanager")
|
||||
G_reader_settings:saveSetting("fm_screen_mode", Screen:getScreenMode())
|
||||
UIManager:close(self)
|
||||
if self.onExit then
|
||||
self:onExit()
|
||||
|
||||
Reference in New Issue
Block a user