修改 测试问题

This commit is contained in:
18401019693 2023-12-12 14:39:07 +08:00
parent 446dc271d6
commit 8dbc0dad7a
2 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class CinemaTicketPopupWindow extends CenterPopupView {
.buyTicket(String.valueOf(ticket), new HttpCallback<String>() {
@Override
public void onSuccess(String data) {
ToastUtil.show(WordUtil.isNewZh() ? "兑换成功" : "Successful exchange");
if (mCinemaTicketPopupWindowCallBack != null) {
mCinemaTicketPopupWindowCallBack.onCallBack(data);

View File

@ -55,6 +55,7 @@ import com.yunbao.common.utils.L;
import com.yunbao.common.utils.LiveRoomCheckLivePresenter;
import com.yunbao.common.utils.RouteUtil;
import com.yunbao.common.utils.ToastUtil;
import com.yunbao.common.utils.WordUtil;
import com.yunbao.live.views.LoadingView;
import com.yunbao.main.R;
import com.yunbao.main.activity.MainActivity;
@ -418,6 +419,7 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl
}
});
} else if (TextUtils.equals(data, "1")) {
ToastUtil.show(WordUtil.isNewZh() ? "兑换成功" : "Successful exchange");
mWebView.post(new Runnable() {
@Override
public void run() {