file manager close button is activated

since home menu doesn't work properly we need a solid close button on file manager to exit from the app on Touch.
https://github.com/koreader/koreader/issues/15
This commit is contained in:
th0mass
2013-04-07 10:22:01 +03:00
parent e08e7ffaf3
commit e1684cae77

View File

@@ -148,7 +148,7 @@ function showHomePage(path)
width = Screen:getWidth(),
height = Screen:getHeight(),
is_borderless = true,
has_close_button = false,
has_close_button = true,
dir_filter = function(dirname)
for _, pattern in ipairs(exclude_dirs) do
if dirname:match(pattern) then return end
@@ -171,6 +171,7 @@ function showHomePage(path)
end
function FileManager:onClose()
exitReader()
--UIManager:quit()
return true
end