Fix stored stub sources not loading and being rewritten on every reload

Stub sources loaded from the database were written into a throwaway copy of the map, so they never reached the source manager. StubSource also becomes a data class, so a stored one compares equal to the same source again and isn't rewritten on every reload.
This commit is contained in:
AntsyLich
2026-09-27 22:43:48 +06:00
parent 6ee529c5aa
commit 0044cc73ec
2 changed files with 2 additions and 3 deletions
@@ -8,7 +8,7 @@ import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.model.SMangaUpdate
class StubSource(
data class StubSource(
override val id: Long,
override val lang: String,
override val name: String,