Disable things that dont work how I want them to

This commit is contained in:
Jobobby04 2020-10-24 23:56:40 -04:00
parent 484cb86ca9
commit 2a24f659d2
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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)
}