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); } });