From 43e7713f6b64466b41ff24c4c65b3f67df52aabc Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 1 Apr 2023 09:51:26 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=85=BC=E5=AE=B9=E5=A5=B3=E7=A5=9E?= =?UTF-8?q?=E8=AF=B4=E6=8E=A5=E5=8F=A3=E5=8F=98=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.gradle | 4 ++-- .../java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.gradle b/config.gradle index 59ac79f7b..2285dc3eb 100644 --- a/config.gradle +++ b/config.gradle @@ -9,9 +9,9 @@ ext { ] manifestPlaceholders = [ //正式、 - serverHost : "https://napi.yaoulive.com", +// serverHost : "https://napi.yaoulive.com", //测试 -// serverHost : "https://ceshi.yaoulive.com", + serverHost : "https://ceshi.yaoulive.com", //腾讯地图 txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java b/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java index 67006691c..fbe7233b4 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java @@ -150,6 +150,9 @@ public class LiveAnchorSayPopDialog extends AbsDialogPopupWindow { } private void setSayData(String url, String edit) { + if(sayModel==null||sayModel.getLivePreview()==null){ + return; + } LiveNetManager.get(getContext()) .setLivePreviewInfo( mLiveUid,