mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readertypeset: enable fb2,css for TXT files
This commit is contained in:
@@ -210,7 +210,7 @@ function ReaderTypeset:genStyleSheetMenu()
|
||||
return css_file == self.css
|
||||
end,
|
||||
enabled_func = function()
|
||||
if fb2_compatible == true and not self.ui.document.is_fb2 then
|
||||
if fb2_compatible == true and not (self.ui.document.is_fb2 or self.ui.document.is_txt) then
|
||||
return false
|
||||
end
|
||||
if fb2_compatible == false and self.ui.document.is_fb2 then
|
||||
|
||||
Reference in New Issue
Block a user