From a9b5b116c4a9c6742207649d9cfe3111cfd8d9e6 Mon Sep 17 00:00:00 2001 From: Acclorite <140836141+Acclorite@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:16:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Remove=20".zip"=20file?= =?UTF-8?q?=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removed support of ".zip" file format as it could cause long loading if the user has a large amount of ZIP files --- README.md | 2 +- .../ua/acclorite/book_story/data/parser/FileParserImpl.kt | 4 ---- .../ua/acclorite/book_story/data/parser/TextParserImpl.kt | 4 ---- .../core/constants/SupportedExtensionConstants.kt | 1 - fastlane/metadata/android/en-US/full_description.txt | 2 +- 5 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index eb67bb12..5fecd991 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Enjoy a sleek, customizable **reading app** with modern design, built with Jetpa ## ✨ Features -- 8 supported file formats(.pdf, .txt, .epub, .fb2, .zip, .html, .htm, .md) +- 7 supported file formats(.pdf, .txt, .epub, .fb2, .html, .htm, .md) - Material You design with unique themes and color presets - Organized Library with categories and chapters in Reader - Highly customizable diff --git a/app/src/main/java/ua/acclorite/book_story/data/parser/FileParserImpl.kt b/app/src/main/java/ua/acclorite/book_story/data/parser/FileParserImpl.kt index b2cbaade..45d78f45 100644 --- a/app/src/main/java/ua/acclorite/book_story/data/parser/FileParserImpl.kt +++ b/app/src/main/java/ua/acclorite/book_story/data/parser/FileParserImpl.kt @@ -43,10 +43,6 @@ class FileParserImpl @Inject constructor( fb2FileParser.parse(file) } - ".zip" -> { - epubFileParser.parse(file) - } - ".html" -> { htmlFileParser.parse(file) } diff --git a/app/src/main/java/ua/acclorite/book_story/data/parser/TextParserImpl.kt b/app/src/main/java/ua/acclorite/book_story/data/parser/TextParserImpl.kt index cfbd4d06..ac58a9f3 100644 --- a/app/src/main/java/ua/acclorite/book_story/data/parser/TextParserImpl.kt +++ b/app/src/main/java/ua/acclorite/book_story/data/parser/TextParserImpl.kt @@ -49,10 +49,6 @@ class TextParserImpl @Inject constructor( fb2TextParser.parse(file) } - ".zip" -> { - epubTextParser.parse(file) - } - ".html" -> { htmlTextParser.parse(file) } diff --git a/app/src/main/java/ua/acclorite/book_story/presentation/core/constants/SupportedExtensionConstants.kt b/app/src/main/java/ua/acclorite/book_story/presentation/core/constants/SupportedExtensionConstants.kt index 117a76ca..cd147287 100644 --- a/app/src/main/java/ua/acclorite/book_story/presentation/core/constants/SupportedExtensionConstants.kt +++ b/app/src/main/java/ua/acclorite/book_story/presentation/core/constants/SupportedExtensionConstants.kt @@ -5,7 +5,6 @@ fun Constants.provideExtensions() = listOf( ".pdf", ".fb2", ".txt", - ".zip", ".html", ".htm", ".md" diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 440cbe49..147f9b6b 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -1,7 +1,7 @@ Book's Story — Material You eBook reader built with Jetpack Compose. Free & Open source & Ad-free, with extensive customization options and support for multiple file formats. Main Features: -* 8 supported file formats(.pdf, .txt, .epub, .fb2, .zip, .html, .htm, .md) +* 7 supported file formats(.pdf, .txt, .epub, .fb2, .html, .htm, .md) * Material You design with unique themes and color presets * Organized Library with categories and chapters in Reader * Highly customizable