mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
defaults(refactor): remove global hack in filemanagersetdefaults
also added screensaver folder setting dialog for kobo
This commit is contained in:
@@ -545,15 +545,12 @@ function BookStatusWidget:onSwitchFocus(inputbox)
|
||||
enter_callback = function()
|
||||
self:closeInputDialog()
|
||||
end,
|
||||
width = Screen:getWidth() * 0.8,
|
||||
height = Screen:getHeight() * 0.2,
|
||||
}
|
||||
self.note_dialog:onShowKeyboard()
|
||||
UIManager:show(self.note_dialog)
|
||||
end
|
||||
|
||||
function BookStatusWidget:closeInputDialog()
|
||||
self.note_dialog:onClose()
|
||||
UIManager:close(self.note_dialog)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user