From 27715cda2c871ed9cd3863af58a4315c6d6e94e5 Mon Sep 17 00:00:00 2001
From: zlzw <583819556@qq.com>
Date: Fri, 26 May 2023 14:24:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=95=E7=A5=A8=E5=88=9B?=
=?UTF-8?q?=E5=BB=BA=E5=A4=B1=E8=B4=A5=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E8=AF=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/src/main/res/values-en-rUS/string.xml | 1 +
common/src/main/res/values-zh-rHK/strings.xml | 1 +
common/src/main/res/values-zh-rTW/strings.xml | 1 +
common/src/main/res/values-zh/strings.xml | 1 +
common/src/main/res/values/strings.xml | 1 +
.../main/java/com/yunbao/live/utils/LiveAnchorVoteManager.java | 3 +--
6 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/common/src/main/res/values-en-rUS/string.xml b/common/src/main/res/values-en-rUS/string.xml
index 11c39afa5..e16582a76 100644
--- a/common/src/main/res/values-en-rUS/string.xml
+++ b/common/src/main/res/values-en-rUS/string.xml
@@ -1177,4 +1177,5 @@ Limited ride And limited avatar frame
VOTE
%s
box disappears after %s seconds
Please complete the form.
+ Create Vote Error
diff --git a/common/src/main/res/values-zh-rHK/strings.xml b/common/src/main/res/values-zh-rHK/strings.xml
index fb6940897..470a22c53 100644
--- a/common/src/main/res/values-zh-rHK/strings.xml
+++ b/common/src/main/res/values-zh-rHK/strings.xml
@@ -1172,4 +1172,5 @@
愛你,愛你
指導下我好嗎
完整填寫領大禮
+ 投票創建失敗
diff --git a/common/src/main/res/values-zh-rTW/strings.xml b/common/src/main/res/values-zh-rTW/strings.xml
index e67edd9e0..312518d95 100644
--- a/common/src/main/res/values-zh-rTW/strings.xml
+++ b/common/src/main/res/values-zh-rTW/strings.xml
@@ -1171,4 +1171,5 @@
愛你,愛你
指導下我好嗎
完整填寫領大禮
+ 投票創建失敗
diff --git a/common/src/main/res/values-zh/strings.xml b/common/src/main/res/values-zh/strings.xml
index 5152c78d3..fe9bd7a5a 100644
--- a/common/src/main/res/values-zh/strings.xml
+++ b/common/src/main/res/values-zh/strings.xml
@@ -1172,4 +1172,5 @@
離開會讓您失去獎勵,您確認離開嗎?
愛你,愛你
指導下我好嗎
+ 投票創建失敗
diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml
index 765c420e3..f886d0dd7 100644
--- a/common/src/main/res/values/strings.xml
+++ b/common/src/main/res/values/strings.xml
@@ -1178,4 +1178,5 @@ Limited ride And limited avatar frame
Leave without a gift
Love you
Can you guide me
+ Create Vote Error
diff --git a/live/src/main/java/com/yunbao/live/utils/LiveAnchorVoteManager.java b/live/src/main/java/com/yunbao/live/utils/LiveAnchorVoteManager.java
index 1d10fa148..476fb10c6 100644
--- a/live/src/main/java/com/yunbao/live/utils/LiveAnchorVoteManager.java
+++ b/live/src/main/java/com/yunbao/live/utils/LiveAnchorVoteManager.java
@@ -64,9 +64,8 @@ public class LiveAnchorVoteManager {
@Override
public void onError(String error) {
- ToastUtil.show(error);
LiveRoomVoteModel voteModel = new LiveRoomVoteModel();
- voteModel.setContent(error);
+ voteModel.setContent(CommonAppContext.getTopActivity().getString(com.yunbao.common.R.string.live_vote_create_error));
listener.onItemClick(voteModel, -1);
}
});