From 0af40fa7e5d0ad85eb27bd9988598caa104d8098 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 15 Sep 2022 10:40:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E7=AB=99=E5=96=87=E5=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/common/http/live/LiveNetManager.java | 2 +- .../yunbao/common/views/weight/FullServiceNotificationView.java | 1 + .../java/com/yunbao/live/dialog/LiveInputDialogFragment.java | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index 9273db11c..58a5c0393 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -75,7 +75,7 @@ public class LiveNetManager { callback.onSuccess(baseModelResponseModel.getData().getInfo()); } else { if (callback != null) - callback.onError("发送失败"); + callback.onError(baseModelResponseModel.getData().getMsg()); } }, throwable -> { if (callback != null) diff --git a/common/src/main/java/com/yunbao/common/views/weight/FullServiceNotificationView.java b/common/src/main/java/com/yunbao/common/views/weight/FullServiceNotificationView.java index d4ca2674d..9b2d3b39e 100644 --- a/common/src/main/java/com/yunbao/common/views/weight/FullServiceNotificationView.java +++ b/common/src/main/java/com/yunbao/common/views/weight/FullServiceNotificationView.java @@ -159,6 +159,7 @@ public class FullServiceNotificationView extends FrameLayout { svagaBc.clear(); svagaBc.setVisibility(GONE); gotoRoomView.setVisibility(GONE); + contextLayout.setVisibility(GONE); } @Override diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveInputDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveInputDialogFragment.java index cba6260cd..7b8b20b47 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveInputDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveInputDialogFragment.java @@ -199,6 +199,8 @@ public class LiveInputDialogFragment extends AbsDialogFragment implements View.O @Override public void onError(String error) { + dismiss(); + ToastUtil.show(error); } }); break;