新增投票创建失败时的提示语

This commit is contained in:
zlzw 2023-05-26 14:24:29 +08:00
parent 65bfc77376
commit 27715cda2c
6 changed files with 6 additions and 2 deletions

View File

@ -1177,4 +1177,5 @@ Limited ride And limited avatar frame</string>
<string name="live_vote_hide_text">VOTE</string>
<string name="live_room_vote_over_tip">%s <br/> box disappears after %s seconds</string>
<string name="live_anchor_vote_tip">Please complete the form.</string>
<string name="live_vote_create_error">Create Vote Error</string>
</resources>

View File

@ -1172,4 +1172,5 @@
<string name="complete_information_hint2">愛你,愛你</string>
<string name="you_guide_me">指導下我好嗎</string>
<string name="complete_information">完整填寫領大禮</string>
<string name="live_vote_create_error">投票創建失敗</string>
</resources>

View File

@ -1171,4 +1171,5 @@
<string name="complete_information_hint2">愛你,愛你</string>
<string name="you_guide_me">指導下我好嗎</string>
<string name="complete_information">完整填寫領大禮</string>
<string name="live_vote_create_error">投票創建失敗</string>
</resources>

View File

@ -1172,4 +1172,5 @@
<string name="complete_information_hint3">離開會讓您失去獎勵,您確認離開嗎?</string>
<string name="complete_information_hint2">愛你,愛你</string>
<string name="you_guide_me">指導下我好嗎</string>
<string name="live_vote_create_error">投票創建失敗</string>
</resources>

View File

@ -1178,4 +1178,5 @@ Limited ride And limited avatar frame</string>
<string name="complete_information_hint3">Leave without a gift</string>
<string name="complete_information_hint2">Love you</string>
<string name="you_guide_me">Can you guide me</string>
<string name="live_vote_create_error">Create Vote Error</string>
</resources>

View File

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