Stop merging onto itself
This commit is contained in:
parent
198955fd5d
commit
d6d5703e39
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user