From 46b41df4c594aedcf95afa41046cc4f2849e2815 Mon Sep 17 00:00:00 2001 From: Eugene <35057681+e-shl@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:51:12 +0500 Subject: [PATCH] [RU]Remanga Fix error nullables MangaDetDto and OrderBy (#7727) * [RU]Remanga Fix error nullable MangaDetDto * delete not use but break * mere notuse --- src/ru/remanga/build.gradle | 2 +- .../tachiyomi/extension/ru/remanga/dto/Dto.kt | 15 ++++----------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/ru/remanga/build.gradle b/src/ru/remanga/build.gradle index 0efc4c2d3..a44015dc1 100644 --- a/src/ru/remanga/build.gradle +++ b/src/ru/remanga/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Remanga' pkgNameSuffix = 'ru.remanga' extClass = '.Remanga' - extVersionCode = 30 + extVersionCode = 31 libVersion = '1.2' } diff --git a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/dto/Dto.kt b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/dto/Dto.kt index 72d75b5b7..a29f4fcd7 100644 --- a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/dto/Dto.kt +++ b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/dto/Dto.kt @@ -25,8 +25,6 @@ data class LibraryDto( val en_name: String, val rus_name: String, val dir: String, -// val issue_year: Int, - val genres: List = emptyList(), val img: ImgDto ) @@ -44,7 +42,7 @@ data class MangaDetDto( val another_name: String, val dir: String, val description: String, - val issue_year: Int, + val issue_year: Int?, val img: ImgDto, val type: GenresDto, val genres: List, @@ -64,17 +62,13 @@ data class PropsDto( @Serializable data class PageWrapperDto( - val msg: String, val content: List, - val props: PropsDto, -// val last: Boolean + val props: PropsDto ) @Serializable data class SeriesWrapperDto( - val msg: String, - val content: T, -// val props: PropsDto + val content: T ) @Serializable @@ -99,8 +93,7 @@ data class PagesDto( val id: Int, val height: Int, val link: String, - val page: Int, - val count_comments: Int + val page: Int ) @Serializable