mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #1241 from chrox/fix_android_ssl
Fix koreader crash on android when using network
This commit is contained in:
2
base
2
base
Submodule base updated: ffdcfc5e5d...825299559d
@@ -17,8 +17,6 @@ local function strcoll(str1, str2)
|
||||
end
|
||||
|
||||
local FileChooser = Menu:extend{
|
||||
height = Screen:getHeight(),
|
||||
width = Screen:getWidth(),
|
||||
no_title = true,
|
||||
path = lfs.currentdir(),
|
||||
parent = nil,
|
||||
@@ -32,6 +30,8 @@ local FileChooser = Menu:extend{
|
||||
}
|
||||
|
||||
function FileChooser:init()
|
||||
self.width = Screen:getWidth()
|
||||
self.height = Screen:getHeight()
|
||||
-- common dir filter
|
||||
self.dir_filter = function(dirname)
|
||||
for _, pattern in ipairs(self.exclude_dirs) do
|
||||
|
||||
Reference in New Issue
Block a user