mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
revert: "refactor(manga): Slowly using flow"
I'll just redo this in the morning
This commit is contained in:
parent
2ef1195a90
commit
f8d74a6b2f
3 changed files with 134 additions and 145 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue