[Modify]特权卡提示,礼物面板调整
This commit is contained in:
@@ -121,9 +121,10 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
|
||||
|
||||
private volatile boolean disable;
|
||||
|
||||
|
||||
private boolean isChat;
|
||||
|
||||
private String hintText;
|
||||
|
||||
public InputPanel(Container container, View view, List<BaseAction> actions, boolean isTextAudioSwitchShow) {
|
||||
this.container = container;
|
||||
this.view = view;
|
||||
@@ -952,14 +953,15 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
|
||||
container.proxy.sendMessage(customMessage);
|
||||
}
|
||||
|
||||
public void setLimitLevel(boolean isChat, String msg) {
|
||||
public void setLimitLevel(boolean isChat, String hintText) {
|
||||
this.isChat = isChat;
|
||||
this.hintText = hintText;
|
||||
setEditTextState();
|
||||
}
|
||||
|
||||
private void setEditTextState() {
|
||||
if (!isChat) {
|
||||
messageEditText.setHint("暂未达到可发起私聊等级");
|
||||
messageEditText.setHint(hintText);
|
||||
messageEditText.setFocusable(false);
|
||||
messageEditText.setFocusableInTouchMode(false);
|
||||
messageEditText.setEnabled(false);
|
||||
|
Reference in New Issue
Block a user