77 红包闪退,红包可以1=1,
This commit is contained in:
@@ -2850,6 +2850,8 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
return
|
||||
}
|
||||
switchMic(2)
|
||||
}else{
|
||||
mBinding?.ivSoundEffects?.visibility = View.GONE
|
||||
}
|
||||
} else {
|
||||
if (RoomType.fromTypeId(mRoomInfoResp?.room_info?.type_id) == RoomType.JUKEBOX
|
||||
|
||||
@@ -134,7 +134,7 @@ public class RedBagSendDialog extends BaseDialog<DialogRedBagSendBinding> {
|
||||
int num = Integer.parseInt(numStr);
|
||||
int text = Integer.parseInt(textStr);
|
||||
|
||||
if (text <= num) {
|
||||
if (text < num) {
|
||||
diaj=false;
|
||||
ToastUtils.show("金额必须大于数量");
|
||||
return;
|
||||
@@ -281,7 +281,7 @@ public class RedBagSendDialog extends BaseDialog<DialogRedBagSendBinding> {
|
||||
int num = Integer.parseInt(numStr);
|
||||
int text = Integer.parseInt(textStr);
|
||||
|
||||
if (text <= num) {
|
||||
if (text < num) {
|
||||
diaj=false;
|
||||
ToastUtils.show("金额必须大于数量");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user