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 6b4b29965..2b03d8eaf 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 @@ -76,7 +76,7 @@ object GalleryDetailParser { private val PATTERN_NEWER_DATE = Regex(", added (.+?)
") private val PATTERN_FAVORITE_SLOT = Regex("/fav.png\\); background-position:0px -(\\d+)px") - private val EMPTY_GALLERY_COMMENT_ARRAY = GalleryCommentList(emptyList(), false) + private val EMPTY_GALLERY_COMMENT_LIST = GalleryCommentList(emptyList(), false) private val WEB_COMMENT_DATE_FORMAT = DateTimeFormatter .ofPattern("dd MMMM yyyy, HH:mm", Locale.US).withZone(ZoneOffset.UTC) private const val OFFENSIVE_STRING = @@ -441,7 +441,7 @@ object GalleryDetailParser { } catch (e: Throwable) { ExceptionUtils.throwIfFatal(e) e.printStackTrace() - EMPTY_GALLERY_COMMENT_ARRAY + EMPTY_GALLERY_COMMENT_LIST } }