[RU]Remanga Fix error nullables MangaDetDto and OrderBy (#7727)

* [RU]Remanga Fix error nullable MangaDetDto

* delete not use but break

* mere notuse
This commit is contained in:
Eugene 2021-06-18 14:51:12 +05:00 committed by GitHub
parent 924fb80e6b
commit 46b41df4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 12 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Remanga' extName = 'Remanga'
pkgNameSuffix = 'ru.remanga' pkgNameSuffix = 'ru.remanga'
extClass = '.Remanga' extClass = '.Remanga'
extVersionCode = 30 extVersionCode = 31
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -25,8 +25,6 @@ data class LibraryDto(
val en_name: String, val en_name: String,
val rus_name: String, val rus_name: String,
val dir: String, val dir: String,
// val issue_year: Int,
val genres: List<GenresDto> = emptyList(),
val img: ImgDto val img: ImgDto
) )
@ -44,7 +42,7 @@ data class MangaDetDto(
val another_name: String, val another_name: String,
val dir: String, val dir: String,
val description: String, val description: String,
val issue_year: Int, val issue_year: Int?,
val img: ImgDto, val img: ImgDto,
val type: GenresDto, val type: GenresDto,
val genres: List<GenresDto>, val genres: List<GenresDto>,
@ -64,17 +62,13 @@ data class PropsDto(
@Serializable @Serializable
data class PageWrapperDto<T>( data class PageWrapperDto<T>(
val msg: String,
val content: List<T>, val content: List<T>,
val props: PropsDto, val props: PropsDto
// val last: Boolean
) )
@Serializable @Serializable
data class SeriesWrapperDto<T>( data class SeriesWrapperDto<T>(
val msg: String, val content: T
val content: T,
// val props: PropsDto
) )
@Serializable @Serializable
@ -99,8 +93,7 @@ data class PagesDto(
val id: Int, val id: Int,
val height: Int, val height: Int,
val link: String, val link: String,
val page: Int, val page: Int
val count_comments: Int
) )
@Serializable @Serializable