调整联系方式选项
This commit is contained in:
@@ -110,14 +110,22 @@ public class LiveAnchorEditCallMeDialog extends AbsDialogPopupWindow {
|
||||
} else if (bean.getType() == LiveAnchorEditCallMeAdapter.TYPE_APP_WHATSAPP) {
|
||||
callMeModel.setWhatsApp(new LiveAnchorCallMeModel.AppBean(bean.getValue(), bean.getStatus()));
|
||||
}
|
||||
if (callMeModel.getWechat().getIsShow() == 0 && callMeModel.getLine().getIsShow() == 0 && callMeModel.getWhatsApp().getIsShow() == 0) {
|
||||
status.setImageResource(R.mipmap.special_icon_off);
|
||||
status.setTag(0);
|
||||
}
|
||||
}
|
||||
});
|
||||
status.setTag(0);
|
||||
status.setOnClickListener(v -> {
|
||||
if(callMeModel.getGiftId()==0){
|
||||
if (callMeModel.getGiftId() == 0) {
|
||||
ToastUtil.show(R.string.live_anchor_edit_call_me_not_gift_toash);
|
||||
return;
|
||||
}
|
||||
if (callMeModel.getWechat().getIsShow() == 0 && callMeModel.getLine().getIsShow() == 0 && callMeModel.getWhatsApp().getIsShow() == 0) {
|
||||
ToastUtil.show(R.string.live_anchor_edit_call_me_not_call_info_toash);
|
||||
return;
|
||||
}
|
||||
int tag = (int) v.getTag();
|
||||
if (tag == 0) {
|
||||
status.setImageResource(R.mipmap.special_icon_on);
|
||||
|
||||
Reference in New Issue
Block a user