优化主播连麦邀请/同意时提示体验
This commit is contained in:
parent
1fc8977f99
commit
7008ccc505
@ -129,9 +129,11 @@ public class AnchorUserMicInfoAdapter extends RefreshAdapter<MicUserBean> {
|
||||
if (length <= 4) {
|
||||
if (tag.getType() == TYPE_MIC_REQUEST) {
|
||||
applyMic(tag, 4, createSocketSendBean());
|
||||
ToastUtil.show(WordUtil.getString(R.string.live_mic_request));
|
||||
} else if (tag.getType() == TYPE_MIC_INVITE) {
|
||||
SocketSendBean bean = createSocketSendBean().param("targetId", tag.getId());
|
||||
applyMic(tag, 1, bean);
|
||||
ToastUtil.show(WordUtil.getString(R.string.live_mic_invite));
|
||||
}
|
||||
} else {
|
||||
ToastUtil.show(WordUtil.getString(R.string.live_mic_max));
|
||||
|
@ -30,4 +30,6 @@
|
||||
<string name="live_mic_max">當前連麥語音人數已達到3人,無法再添加。</string>
|
||||
<string name="live_mic_user_apply" translatable="false">%s 申请连麦</string>
|
||||
<string name="live_mic_user_down" translatable="false">已踢下麥</string>
|
||||
<string name="live_mic_invite" translatable="false">已發出邀請,等待用戶接受</string>
|
||||
<string name="live_mic_request" translatable="false">已同意請求,等待用戶接受</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user