Disable things that dont work how I want them to
This commit is contained in:
parent
484cb86ca9
commit
2a24f659d2
@ -195,7 +195,7 @@ class MangaPresenter(
|
||||
updateHelper.findAcceptedRootAndDiscardOthers(manga.source, chapters)
|
||||
.onEach { (acceptedChain, _) ->
|
||||
// Redirect if we are not the accepted root
|
||||
if (manga.id != acceptedChain.manga.id) {
|
||||
if (manga.id != acceptedChain.manga.id && acceptedChain.manga.favorite) {
|
||||
// Update if any of our chapters are not in accepted manga's chapters
|
||||
val ourChapterUrls = chapters.map { it.url }.toSet()
|
||||
val acceptedChapterUrls = acceptedChain.chapters.map { it.url }.toSet()
|
||||
|
@ -90,12 +90,12 @@ class EHentaiUpdateHelper(context: Context) {
|
||||
|
||||
Triple(newAccepted, toDiscard, new)
|
||||
} else {
|
||||
val notNeeded = chains.filter { it.manga.id != accepted.manga.id }
|
||||
/*val notNeeded = chains.filter { it.manga.id != accepted.manga.id }
|
||||
val (newChapters, new) = getChapterList(accepted, notNeeded, chainsAsChapters)
|
||||
val newAccepted = ChapterChain(accepted.manga, newChapters)
|
||||
|
||||
// Insert new chapters for accepted manga
|
||||
db.insertChapters(newAccepted.chapters).await()
|
||||
db.insertChapters(newAccepted.chapters).await()*/
|
||||
|
||||
Triple(accepted, emptyList(), false)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user