mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cloudstorage - Add option to view unsupported files (#5131)
Option to show all files in cloudstorage also not supported by KOReader. We can also download any file. To show all files in CS we need to enable option Show unsupported files in file manager (introducing in #5129) Close: #5006
This commit is contained in:
@@ -114,7 +114,8 @@ function WebDavApi:listFolder(address, user, pass, folder_path)
|
||||
type = "folder",
|
||||
})
|
||||
end
|
||||
elseif item:find("<d:resourcetype/>") and DocumentRegistry:hasProvider(item_name) then
|
||||
elseif item:find("<d:resourcetype/>") and (DocumentRegistry:hasProvider(item_name)
|
||||
or G_reader_settings:isTrue("show_unsupported")) then
|
||||
table.insert(webdav_file, {
|
||||
text = item_name,
|
||||
url = util.urlDecode( item_path ),
|
||||
|
||||
Reference in New Issue
Block a user