This commit is contained in:
Jobobby04
2023-02-07 16:50:09 -05:00
parent 64d829d304
commit a9edf090c4
4 changed files with 4 additions and 4 deletions
@@ -36,13 +36,13 @@ class MetadataMangasPage(
override val mangas: List<SManga>,
override val hasNextPage: Boolean,
val mangasMetadata: List<RaisedSearchMetadata>,
val nextKey: Long? = null
val nextKey: Long? = null,
) : MangasPage(mangas, hasNextPage) {
fun copy(
mangas: List<SManga> = this.mangas,
hasNextPage: Boolean = this.hasNextPage,
mangasMetadata: List<RaisedSearchMetadata> = this.mangasMetadata,
nextKey: Long? = this.nextKey
nextKey: Long? = this.nextKey,
): MangasPage {
return MetadataMangasPage(mangas, hasNextPage, mangasMetadata, nextKey)
}
@@ -57,4 +57,3 @@ object MetadataUtil {
val EX_DATE_FORMAT = SimpleDateFormat("yyyy-MM-dd HH:mm", Locale.US)
}
@@ -14,7 +14,7 @@ import uy.kohesive.injekt.api.get
@Suppress("OverridingDeprecatedMember", "DEPRECATION")
class EnhancedHttpSource(
val originalSource: HttpSource,
val enhancedSource: HttpSource
val enhancedSource: HttpSource,
) : HttpSource() {
/**