From b3d58fba00282178fa10ace3041e03b1b4a9f485 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Tue, 15 Nov 2016 20:01:25 +0100 Subject: [PATCH] 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`. --- frontend/apps/filemanager/filemanager.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/apps/filemanager/filemanager.lua b/frontend/apps/filemanager/filemanager.lua index 9228e0165..f3f7f71e6 100644 --- a/frontend/apps/filemanager/filemanager.lua +++ b/frontend/apps/filemanager/filemanager.lua @@ -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()