From 8d5ee10192d79de7cbd77045aed9a2c3dae98c33 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sat, 13 Jan 2024 22:18:12 +0800 Subject: [PATCH] Show replies for hidden bangumi --- .../me/iacn/biliroaming/hook/BangumiSeasonHook.kt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/me/iacn/biliroaming/hook/BangumiSeasonHook.kt b/app/src/main/java/me/iacn/biliroaming/hook/BangumiSeasonHook.kt index 9e9504513c..8cae7bbb58 100644 --- a/app/src/main/java/me/iacn/biliroaming/hook/BangumiSeasonHook.kt +++ b/app/src/main/java/me/iacn/biliroaming/hook/BangumiSeasonHook.kt @@ -1487,10 +1487,19 @@ class BangumiSeasonHook(classLoader: ClassLoader) : BaseHook(classLoader) { } } val tabDefault = tab { - tabModule.add(tabModule { + tabModule += tabModule { tabType = TabType.TAB_INTRODUCTION introduction = introductionTab - }) + } + tabModule += tabModule { + tabType = TabType.TAB_REPLY + reply = replyTab { + replyStyle = replyStyle { + badgeType = 0L + } + title = "评论" + } + } } val viewPgcAny = viewPgcAny {