revert: "refactor(manga): Slowly using flow"

I'll just redo this in the morning
This commit is contained in:
Ahmad Ansori Palembani 2024-12-16 20:55:15 +07:00
parent 2ef1195a90
commit f8d74a6b2f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 134 additions and 145 deletions

View file

@ -35,29 +35,6 @@ interface Manga : SManga {
var cover_last_modified: Long
override fun copy(): Manga {
return (super.copy() as Manga).also {
it.id = this.id
it.source = this.source
it.favorite = this.favorite
it.last_update = this.last_update
it.date_added = this.date_added
it.viewer_flags = this.viewer_flags
it.chapter_flags = this.chapter_flags
it.hide_title = this.hide_title
it.filtered_scanlators = this.filtered_scanlators
it.ogTitle = this.ogTitle
it.ogAuthor = this.ogAuthor
it.ogArtist = this.ogArtist
it.ogDesc = this.ogDesc
it.ogGenre = this.ogGenre
it.ogStatus = this.ogStatus
it.cover_last_modified = this.cover_last_modified
}
}
@Deprecated("Use ogTitle directly instead", ReplaceWith("ogTitle"))
val originalTitle: String
get() = ogTitle