From bfe8f5d00f83c9b3340ddaac50a5a5a29e9e0753 Mon Sep 17 00:00:00 2001 From: are-are-are <62763969+dejavui@users.noreply.github.com> Date: Thu, 19 Dec 2024 18:49:16 +0700 Subject: [PATCH] Hitomi: Fix missing field error (#6681) Quick fix --- src/all/hitomi/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/hitomi/HitomiDto.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/all/hitomi/build.gradle b/src/all/hitomi/build.gradle index 215559e72..54152f37b 100644 --- a/src/all/hitomi/build.gradle +++ b/src/all/hitomi/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Hitomi' extClass = '.HitomiFactory' - extVersionCode = 33 + extVersionCode = 34 isNsfw = true } diff --git a/src/all/hitomi/src/eu/kanade/tachiyomi/extension/all/hitomi/HitomiDto.kt b/src/all/hitomi/src/eu/kanade/tachiyomi/extension/all/hitomi/HitomiDto.kt index 748b594bc..202b07e2f 100644 --- a/src/all/hitomi/src/eu/kanade/tachiyomi/extension/all/hitomi/HitomiDto.kt +++ b/src/all/hitomi/src/eu/kanade/tachiyomi/extension/all/hitomi/HitomiDto.kt @@ -22,9 +22,9 @@ class Gallery( @Serializable class ImageFile( val hash: String, - val haswebp: Int, - val hasavif: Int, - val hasjxl: Int, + val haswebp: Int?, + val hasavif: Int?, + val hasjxl: Int?, ) @Serializable