修改盲盒问题

This commit is contained in:
18401019693
2023-06-03 14:35:39 +08:00
parent 9926997fd7
commit aacd8b8735
2 changed files with 7 additions and 3 deletions

View File

@@ -910,7 +910,11 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
}
}
SendGiftCallback callback = new SendGiftCallback(mLiveGiftBean);
if (!StringUtil.isEmpty(mWishGiftId) && mLiveGiftBean.getId() != Integer.parseInt(mWishGiftId)) {
try {
if (!StringUtil.isEmpty(mWishGiftId) && mLiveGiftBean.getId() != Integer.parseInt(mWishGiftId)) {
isContactGift = 0;
}
} catch (NumberFormatException e) {
isContactGift = 0;
}
if (by != null) {