mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #35 from th0mass/master
adding a close button to filemanager
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user