From d0f2ac2c608e8160f2bf74f1108e0fcc3d11c201 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 21 Mar 2024 18:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/dialog/LiveBuyGuardDialog.java | 2 +- live/src/main/java/com/yunbao/live/dialog/LiveGuardDialog.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveBuyGuardDialog.java b/live/src/main/java/com/yunbao/live/dialog/LiveBuyGuardDialog.java index 337a44072..383d25321 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveBuyGuardDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveBuyGuardDialog.java @@ -397,7 +397,7 @@ public class LiveBuyGuardDialog extends AbsDialogPopupWindow { .checkUpgrades(mLiveUid, new com.yunbao.common.http.base.HttpCallback() { @Override public void onSuccess(CheckUpgradesModel data) { - if (!TextUtils.isEmpty(data.getLevel())) + if (!data.getRewards().isEmpty()) new XPopup.Builder(mContext) .asCustom(new GuardUpgradePopup(mContext, mLiveUid, data)) .show(); diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveGuardDialog.java b/live/src/main/java/com/yunbao/live/dialog/LiveGuardDialog.java index e3652f8e6..c2bd14628 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGuardDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGuardDialog.java @@ -252,7 +252,7 @@ public class LiveGuardDialog extends AbsDialogPopupWindow { .checkUpgrades(mLiveUid, new com.yunbao.common.http.base.HttpCallback() { @Override public void onSuccess(CheckUpgradesModel data) { - if (!TextUtils.isEmpty(data.getLevel())) + if (!data.getRewards().isEmpty()) new XPopup.Builder(mContext) .asCustom(new GuardUpgradePopup(mContext, mLiveUid, data)) .show();