mihon/domain
Dani ca968f162e
Add option to skip downloading duplicate read chapters (#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-08-23 15:43:46 +06:00
..
src Add option to skip downloading duplicate read chapters (#1125) 2024-08-23 15:43:46 +06:00
.gitignore Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00
build.gradle.kts chore(deps): update kotlin and compose compiler to v2 (major) (#819) 2024-06-07 03:48:35 +06:00
consumer-rules.pro Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00
proguard-rules.pro Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00