🛠️ Remove ".zip" file format
* Removed support of ".zip" file format as it could cause long loading if the user has a large amount of ZIP files
This commit is contained in:
parent
88b04df01c
commit
a9b5b116c4
5 changed files with 2 additions and 11 deletions
|
|
@ -43,10 +43,6 @@ class FileParserImpl @Inject constructor(
|
|||
fb2FileParser.parse(file)
|
||||
}
|
||||
|
||||
".zip" -> {
|
||||
epubFileParser.parse(file)
|
||||
}
|
||||
|
||||
".html" -> {
|
||||
htmlFileParser.parse(file)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,10 +49,6 @@ class TextParserImpl @Inject constructor(
|
|||
fb2TextParser.parse(file)
|
||||
}
|
||||
|
||||
".zip" -> {
|
||||
epubTextParser.parse(file)
|
||||
}
|
||||
|
||||
".html" -> {
|
||||
htmlTextParser.parse(file)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ fun Constants.provideExtensions() = listOf(
|
|||
".pdf",
|
||||
".fb2",
|
||||
".txt",
|
||||
".zip",
|
||||
".html",
|
||||
".htm",
|
||||
".md"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue