From 5c50d7622b8df3d4dd0a5df7b66e726984260a40 Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Sat, 26 Oct 2024 11:17:08 +0800 Subject: [PATCH] Unify normal and small thumbnails parsing --- .../client/parser/GalleryDetailParser.kt | 67 ++++++------------- 1 file changed, 19 insertions(+), 48 deletions(-) diff --git a/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryDetailParser.kt b/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryDetailParser.kt index f5f330984..534803c9a 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryDetailParser.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryDetailParser.kt @@ -28,7 +28,6 @@ import com.hippo.ehviewer.client.data.GalleryCommentList import com.hippo.ehviewer.client.data.GalleryDetail import com.hippo.ehviewer.client.data.GalleryInfo.Companion.LOCAL_FAVORITED import com.hippo.ehviewer.client.data.GalleryInfo.Companion.NOT_FAVORITED -import com.hippo.ehviewer.client.data.GalleryPreview import com.hippo.ehviewer.client.data.GalleryTagGroup import com.hippo.ehviewer.client.data.LargeGalleryPreview import com.hippo.ehviewer.client.data.NormalGalleryPreview @@ -70,16 +69,12 @@ object GalleryDetailParser { Regex("