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)
|
updateHelper.findAcceptedRootAndDiscardOthers(manga.source, chapters)
|
||||||
.onEach { (acceptedChain, _) ->
|
.onEach { (acceptedChain, _) ->
|
||||||
// Redirect if we are not the accepted root
|
// 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
|
// Update if any of our chapters are not in accepted manga's chapters
|
||||||
val ourChapterUrls = chapters.map { it.url }.toSet()
|
val ourChapterUrls = chapters.map { it.url }.toSet()
|
||||||
val acceptedChapterUrls = acceptedChain.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)
|
Triple(newAccepted, toDiscard, new)
|
||||||
} else {
|
} 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 (newChapters, new) = getChapterList(accepted, notNeeded, chainsAsChapters)
|
||||||
val newAccepted = ChapterChain(accepted.manga, newChapters)
|
val newAccepted = ChapterChain(accepted.manga, newChapters)
|
||||||
|
|
||||||
// Insert new chapters for accepted manga
|
// Insert new chapters for accepted manga
|
||||||
db.insertChapters(newAccepted.chapters).await()
|
db.insertChapters(newAccepted.chapters).await()*/
|
||||||
|
|
||||||
Triple(accepted, emptyList(), false)
|
Triple(accepted, emptyList(), false)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user