readerui: boolean is_txt

This commit is contained in:
hius07
2025-03-13 08:08:24 +02:00
committed by GitHub
parent ffb41f5f13
commit 4ca5b92892

View File

@@ -648,7 +648,7 @@ function ReaderUI:extendProvider(file, provider, is_provider_forced)
end
end
provider.is_fb2 = file_type:sub(1, 2) == "fb"
provider.is_txt = file_type == "txt" or nil
provider.is_txt = file_type == "txt"
return provider
end