fix: Target SManga

This commit is contained in:
Ahmad Ansori Palembani 2024-06-16 08:33:21 +07:00
parent 8a11510296
commit 36bd9cb292
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -51,7 +51,8 @@ interface Manga : SManga {
get() = author == artist || artist.isNullOrBlank() ||
author?.contains(artist ?: "", true) == true
fun copyFrom(other: Manga) {
fun copyFrom(other: SManga) {
if (other is Manga) {
if (other.author != null) {
author = other.originalAuthor
}
@ -73,6 +74,7 @@ interface Manga : SManga {
}
status = other.originalStatus
}
update_strategy = other.update_strategy