From fbac6815dd4c443f017904e9605e589b844244f1 Mon Sep 17 00:00:00 2001 From: ekibun Date: Thu, 16 Jul 2020 14:42:05 +0800 Subject: [PATCH] fix blog no update without replies --- .../main/java/soko/ekibun/bangumi/api/bangumi/bean/Topic.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/soko/ekibun/bangumi/api/bangumi/bean/Topic.kt b/app/src/main/java/soko/ekibun/bangumi/api/bangumi/bean/Topic.kt index 3d7ef7b..f057c5a 100644 --- a/app/src/main/java/soko/ekibun/bangumi/api/bangumi/bean/Topic.kt +++ b/app/src/main/java/soko/ekibun/bangumi/api/bangumi/bean/Topic.kt @@ -139,7 +139,8 @@ data class Topic( } else null to ApiHelper.SaxEventType.NOTHING } attrs.contains("reply_wrapper") -> { - ApiHelper.SaxEventType.BEGIN to ApiHelper.SaxEventType.BEGIN + replyCount++ + replyCount to ApiHelper.SaxEventType.BEGIN } else -> null to ApiHelper.SaxEventType.NOTHING }