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;