From fe027e53dbcf4ce62a470dee9694e37bffc56dfc Mon Sep 17 00:00:00 2001
From: zlzw <583819556@qq.com>
Date: Mon, 28 Nov 2022 10:59:11 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=BB=E6=92=AD=E8=BF=9E?=
=?UTF-8?q?=E9=BA=A6=E9=82=80=E8=AF=B7/=E5=90=8C=E6=84=8F=E6=97=B6?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BD=93=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/yunbao/live/activity/LiveRyAnchorActivity.java | 8 ++++----
live/src/main/res/values/strings.xml | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java
index bc5bdbf42..87f427b85 100644
--- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java
+++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java
@@ -250,7 +250,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
break;
case Constants.LIVE_FUNC_MIC://語音
//ToastUtil.show("開發中,敬請期待");
- openMicWindow();
+ openMicWindow(1);
break;
case Constants.LIVE_FUNC_DR://多人PK
if (isDRPK != 1) {
@@ -393,12 +393,12 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
}
}
- private void openMicWindow() {
+ private void openMicWindow(int index) {
LiveMicAnchorDialogFragment fragment = new LiveMicAnchorDialogFragment();
Bundle bundle = new Bundle();
bundle.putString(Constants.LIVE_UID, mLiveUid);
bundle.putString(Constants.STREAM, mStream);
- bundle.putString("By", "1");
+ bundle.putString("By", index+"");
fragment.setArguments(bundle);
micListener = fragment.getMicListener();
fragment.setMicQueueList(mMicQueueList);
@@ -1339,7 +1339,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
new DialogUitl.SimpleCallback() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
- openMicWindow();
+ openMicWindow(2);
dialog.dismiss();
}
}
diff --git a/live/src/main/res/values/strings.xml b/live/src/main/res/values/strings.xml
index 6f1cc9d3c..48b776755 100644
--- a/live/src/main/res/values/strings.xml
+++ b/live/src/main/res/values/strings.xml
@@ -28,7 +28,7 @@
身份特權
貴族坐席
當前連麥語音人數已達到3人,無法再添加。
- %s 申请连麦
+ %s 申請連麥,是否查看
已踢下麥
已發出邀請,等待用戶接受
已同意請求,等待用戶接受