diff --git a/app/src/main/java/me/iacn/biliroaming/hook/JsonHook.kt b/app/src/main/java/me/iacn/biliroaming/hook/JsonHook.kt index 14efa320eb..3f41d2ebb6 100644 --- a/app/src/main/java/me/iacn/biliroaming/hook/JsonHook.kt +++ b/app/src/main/java/me/iacn/biliroaming/hook/JsonHook.kt @@ -471,9 +471,14 @@ class JsonHook(classLoader: ClassLoader) : BaseHook(classLoader) { var hasKoreaTW = false tab.forEach { when (it.getObjectFieldAs("uri")) { + "bilibili://pgc/bangumi_v2", "bilibili://pgc/home" -> hasBangumiCN = true + "bilibili://following/home_activity_tab/6544" -> hasBangumiTW = true + + "bilibili://pgc/cinema_v2", "bilibili://pgc/home?home_flow_type=2" -> hasMovieCN = true + "bilibili://following/home_activity_tab/168644" -> hasMovieTW = true "bilibili://following/home_activity_tab/163541" -> hasKoreaHK = true "bilibili://following/home_activity_tab/95636" -> hasKoreaTW = true @@ -556,10 +561,12 @@ class JsonHook(classLoader: ClassLoader) : BaseHook(classLoader) { "bilibili://pegasus/hottopic" -> purifytabset.contains("hottopic") + "bilibili://pgc/bangumi_v2", "bilibili://pgc/home", "bilibili://following/home_activity_tab/6544" -> purifytabset.contains("bangumi") + "bilibili://pgc/cinema_v2", "bilibili://pgc/home?home_flow_type=2", "bilibili://following/home_activity_tab/168644" -> purifytabset.contains("movie") diff --git a/app/src/main/res/values-zh-rTW/arrays.xml b/app/src/main/res/values-zh-rTW/arrays.xml index 8d8f5d3f55..c1b86cb7b5 100644 --- a/app/src/main/res/values-zh-rTW/arrays.xml +++ b/app/src/main/res/values-zh-rTW/arrays.xml @@ -28,7 +28,7 @@ 直播 推薦 熱門 - 番劇 + 番劇(動畫) 影視 韓綜 其它 diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index de004941db..63dc6c4a02 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -50,7 +50,7 @@ 直播 推荐 热门 - 番剧 + 番剧(动画) 影视 韩综 其它