mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readcollection: fix mandatory for deleted files (#10488)
This commit is contained in:
@@ -42,7 +42,7 @@ function ReadCollection:prepareList(collection_name)
|
||||
file = file_path,
|
||||
text = v.file:gsub(".*/", ""),
|
||||
dim = not file_exists,
|
||||
mandatory = file_exists and util.getFriendlySize(lfs.attributes(file_path, "size") or 0),
|
||||
mandatory = file_exists and util.getFriendlySize(lfs.attributes(file_path, "size") or 0) or "",
|
||||
select_enabled = file_exists,
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user