From ae9244c0f1c76ae034ba7bb1f4e4411f1e7ff634 Mon Sep 17 00:00:00 2001 From: why Date: Tue, 2 Apr 2024 14:51:30 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]:=20=E7=94=B5=E6=B3=A2=E7=AB=A0=E8=8A=82?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=9B=9E=E5=A4=8D=E8=B7=B3=E8=BD=AC=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xiaoyv/bangumi/helper/RouteHelper.kt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/xiaoyv/bangumi/helper/RouteHelper.kt b/app/src/main/java/com/xiaoyv/bangumi/helper/RouteHelper.kt index 9f0b8b66..2dff08f3 100644 --- a/app/src/main/java/com/xiaoyv/bangumi/helper/RouteHelper.kt +++ b/app/src/main/java/com/xiaoyv/bangumi/helper/RouteHelper.kt @@ -195,7 +195,16 @@ object RouteHelper { } // 条目 titleLink.contains(BgmPathType.TYPE_SUBJECT) -> { - jumpMediaDetail(id) + when { + // 章节详情 + titleLink.contains(TopicType.TYPE_EP) -> { + jumpTopicDetail(id, TopicType.TYPE_EP, targetComment) + } + // 条目详情 + else -> { + jumpMediaDetail(id) + } + } return true } // 小组