diff --git a/main/src/main/java/com/yunbao/main/dialog/MessageStatusConfigDialog.java b/main/src/main/java/com/yunbao/main/dialog/MessageStatusConfigDialog.java index f1529dbea..c9d5e8f06 100644 --- a/main/src/main/java/com/yunbao/main/dialog/MessageStatusConfigDialog.java +++ b/main/src/main/java/com/yunbao/main/dialog/MessageStatusConfigDialog.java @@ -47,9 +47,8 @@ public class MessageStatusConfigDialog extends AbsDialogCenterPopupWindow { } } findViewById(R.id.save).setOnClickListener(view -> { - String tag = findViewById(radioGroup.getCheckedRadioButtonId()).getTag().toString(); int status = 2; - if (tag.equals(WordUtil.getString(R.string.dialog_msg_status_online_config))) { + if (((RadioButton) radioGroup.getChildAt(0)).isChecked()) { status = 1; } LiveNetManager.get(mContext)