diff --git a/common/src/main/res/layout/view_live_total.xml b/common/src/main/res/layout/view_live_total.xml index d03efb5ec..5408563cc 100644 --- a/common/src/main/res/layout/view_live_total.xml +++ b/common/src/main/res/layout/view_live_total.xml @@ -126,6 +126,7 @@ { + Bus.get().post(new LiveAudienceEvent() + .setType(LiveAudienceEvent.LiveAudienceType.ACTIVITY_CENTER)); + dismiss(); + }); } @Override diff --git a/live/src/main/java/com/yunbao/live/event/LiveAudienceEvent.java b/live/src/main/java/com/yunbao/live/event/LiveAudienceEvent.java index a60d19a5f..c73e74afc 100644 --- a/live/src/main/java/com/yunbao/live/event/LiveAudienceEvent.java +++ b/live/src/main/java/com/yunbao/live/event/LiveAudienceEvent.java @@ -58,8 +58,8 @@ public class LiveAudienceEvent extends BaseModel { LIAN_MAI(9, "连麦"), EFFECTS_SETTINGS(10, "特效設置"), WISH_LIST(11, "心愿单"), - OPEN_PARAMETERS(12, "开放参数"); - + OPEN_PARAMETERS(12, "开放参数"), + ACTIVITY_CENTER(13, "活動中心"); private int type; private String name;