Skip to content

Commit

Permalink
增加天气去预警界面推荐内容;
Browse files Browse the repository at this point in the history
  • Loading branch information
su committed Dec 29, 2020
1 parent f32730c commit 5ca16dc
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5ca16dc

Please sign in to comment.