🛠️ 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:
Acclorite 2025-01-30 13:16:16 +02:00
parent 88b04df01c
commit a9b5b116c4
5 changed files with 2 additions and 11 deletions

View file

@ -43,10 +43,6 @@ class FileParserImpl @Inject constructor(
fb2FileParser.parse(file)
}
".zip" -> {
epubFileParser.parse(file)
}
".html" -> {
htmlFileParser.parse(file)
}

View file

@ -49,10 +49,6 @@ class TextParserImpl @Inject constructor(
fb2TextParser.parse(file)
}
".zip" -> {
epubTextParser.parse(file)
}
".html" -> {
htmlTextParser.parse(file)
}

View file

@ -5,7 +5,6 @@ fun Constants.provideExtensions() = listOf(
".pdf",
".fb2",
".txt",
".zip",
".html",
".htm",
".md"