mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
properly close ReaderConfig on screen rotate
This commit is contained in:
@@ -102,7 +102,7 @@ function ReaderConfig:onSetDimensions(dimen)
|
||||
-- since we cannot redraw config_dialog with new size, we close
|
||||
-- the old one on screen size change
|
||||
if self.config_dialog then
|
||||
self.config_dialog.close_callback()
|
||||
self.config_dialog:closeDialog()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user