Stop merging onto itself

This commit is contained in:
Jobobby04 2023-08-12 12:08:59 -04:00
parent 198955fd5d
commit d6d5703e39

View File

@ -544,6 +544,9 @@ class MangaInfoScreenModel(
return originalManga
} else {
if (manga.id == originalMangaId) {
throw IllegalArgumentException(context.getString(R.string.merged_already))
}
var mergedManga = Manga.create()
.copy(
url = originalManga.url,