From fb81ca8c5475b666b462882f518bfe1fa7164f48 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 3 Apr 2024 15:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E4=B8=BB=E6=92=AD?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=EF=BC=8C=E6=9B=B4=E6=94=B9=E4=B8=BA=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E7=8A=B6=E6=80=81=E5=90=8E=EF=BC=8C=E7=A1=AE=E5=AE=9A?= =?UTF-8?q?=E5=90=8E=E9=87=8D=E6=96=B0=E8=BF=9B=E5=85=A5=EF=BC=8C=E4=BB=8D?= =?UTF-8?q?=E7=84=B6=E6=98=BE=E7=A4=BA=E7=A6=BB=E7=BA=BF]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/main/dialog/MessageStatusConfigDialog.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)