filechooser: fix show files in bold (#10296)

This commit is contained in:
hius07
2023-04-03 12:18:38 +03:00
committed by GitHub
parent 89b4c737e2
commit 14de514ae8

View File

@@ -157,7 +157,7 @@ function FileChooser:getListItem(f, filename, attributes, collate)
attr = attributes,
}
if collate then -- file
if G_reader_settings:readSetting("show_file_in_bold") then
if G_reader_settings:readSetting("show_file_in_bold") ~= false then
item.opened = DocSettings:hasSidecarFile(filename)
end
if collate == "type" then