设置房间背景时判断是否开启PK模式方式更改

This commit is contained in:
huangjian
2020-12-31 17:20:47 +08:00
parent ad6508f2de
commit b9b512e5c4

View File

@@ -679,7 +679,7 @@ public class AVRoomActivity extends BaseMvpActivity<IAvRoomView, AvRoomPresenter
//不再使用头像作为房间默认背景
svgaRoomBg.clearAnimation();
svgaRoomBg.setVisibility(VISIBLE);
if (isPKModel) {
if (AvRoomDataManager.get().isOpenPKMode()) {
svgaRoomBg.setImageResource(R.drawable.bg_room_pk);
} else
svgaRoomBg.setImageResource(R.drawable.bg_room_normal_default_pic);