diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index d997314ea..241ede468 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -278,11 +278,11 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe if (info.length > 0) { String json = info[0]; WishlistModel model = GsonUtils.fromJson(json, WishlistModel.class); - if (mLiveRoomViewHolder != null && model != null) { + if (mLiveRoomViewHolder != null && model != null && model.getWishlist().size() > 0) { BannerBean bannerModel = new BannerBean(); bannerModel.setShow_type("2"); bannerModel.setLink(CommonAppConfig.HOST + "/index.php"); - bannerModel.setImageUrl("https://downs.yaoulive.com/%E5%BF%83%E6%84%BF%E5%8D%95%E6%88%BF%E9%97%B4_%E6%82%AC%E6%B5%AE.png"); + bannerModel.setImageUrl(model.getImg()); mLiveRoomViewHolder.addWishList(bannerModel); }