修复 [主播账号,更改为在线状态后,确定后重新进入,仍然显示离线]

This commit is contained in:
zlzw 2024-04-03 15:37:44 +08:00
parent 703e3c16d1
commit fb81ca8c54

View File

@ -47,9 +47,8 @@ public class MessageStatusConfigDialog extends AbsDialogCenterPopupWindow {
} }
} }
findViewById(R.id.save).setOnClickListener(view -> { findViewById(R.id.save).setOnClickListener(view -> {
String tag = findViewById(radioGroup.getCheckedRadioButtonId()).getTag().toString();
int status = 2; int status = 2;
if (tag.equals(WordUtil.getString(R.string.dialog_msg_status_online_config))) { if (((RadioButton) radioGroup.getChildAt(0)).isChecked()) {
status = 1; status = 1;
} }
LiveNetManager.get(mContext) LiveNetManager.get(mContext)