From 5ca16dccab11cd42d7fff206eec474d0bd76c4fe Mon Sep 17 00:00:00 2001 From: su <1044205037@qq.com> Date: Tue, 29 Dec 2020 11:11:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=A9=E6=B0=94=E5=8E=BB?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=E7=95=8C=E9=9D=A2=E6=8E=A8=E8=8D=90=E5=86=85?= =?UTF-8?q?=E5=AE=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flymehelper/hook/weather/MultiTypeAdapterHook.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/wuxiaosu/flymehelper/hook/weather/MultiTypeAdapterHook.kt b/app/src/main/java/com/wuxiaosu/flymehelper/hook/weather/MultiTypeAdapterHook.kt index 0ece896..104bcd1 100644 --- a/app/src/main/java/com/wuxiaosu/flymehelper/hook/weather/MultiTypeAdapterHook.kt +++ b/app/src/main/java/com/wuxiaosu/flymehelper/hook/weather/MultiTypeAdapterHook.kt @@ -49,8 +49,14 @@ class MultiTypeAdapterHook { // 指数界面移除推荐 if (!"com.meizu.flyme.weather.modules.warn.detail.bean.CategoryForNewsFlow" - .equals(data.javaClass.name) && !"com.meizu.flyme.weather.modules.index.bean.NewsFlowBean" .equals(data.javaClass.name) + && !"com.meizu.flyme.weather.modules.index.bean.NewsFlowBean".equals( + data.javaClass.name + ) + // 预警界面推荐内容 + && !"com.meizu.flyme.weather.modules.home.page.view.newsSdk.bean.NewsFlowBean".equals( + data.javaClass.name + ) ) { newList.add(data) }