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

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

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