1:购买装扮的时候,默认选择的对应的天数,(后台也修改了,是可以使用的)
2:修改当在小黑屋收到大房间清空消息的推送的时候,不进行清除小黑屋的消息
This commit is contained in:
@@ -77,6 +77,9 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
|||||||
public boolean mIsPriRoom = false;
|
public boolean mIsPriRoom = false;
|
||||||
// 在需要的地方调用 Activity 的方法
|
// 在需要的地方调用 Activity 的方法
|
||||||
public void someMethod() {
|
public void someMethod() {
|
||||||
|
if (mIsPriRoom){
|
||||||
|
return;
|
||||||
|
}
|
||||||
easeChatAdapter.clearData();
|
easeChatAdapter.clearData();
|
||||||
ToastUtils.showShort("清除成功");
|
ToastUtils.showShort("清除成功");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,9 @@ class PurchaseOutfitsDialog(context: Context) :
|
|||||||
adapterDataList as MutableList<DecorateDetailBean.DecorateAdapterItem>,
|
adapterDataList as MutableList<DecorateDetailBean.DecorateAdapterItem>,
|
||||||
t.decorate!!.priceList.isEmpty()
|
t.decorate!!.priceList.isEmpty()
|
||||||
)
|
)
|
||||||
|
if (t.decorate!!.priceList.isNotEmpty()) {
|
||||||
|
mSelectedPriceBean = t.decorate!!.priceList[0]
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user