修复机器人自动打招呼条数超过20条问题 #74
This commit is contained in:
parent
a83e3e0511
commit
c1aa8188ce
@ -81,6 +81,10 @@ public class LiveRobotSayHelloCustomPopup extends BottomPopupView {
|
||||
findViewById(R.id.robot_add_content).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if(robotMessageAdapter.getItemCount()>=20){
|
||||
ToastUtil.show(getContext().getString(R.string.rebot_config_auto_say_max));
|
||||
return;
|
||||
}
|
||||
new XPopup.Builder(getContext())
|
||||
.asCustom(new InputCustomPopup(getContext(), R.string.automatic_greeting_setting).setListener(new InputCustomPopup.InputCustomListener() {
|
||||
@Override
|
||||
|
@ -1192,4 +1192,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="participate_in">Participate in</string>
|
||||
<string name="extract_to">%s is extracted from %s</string>
|
||||
<string name="extract_to2">%S sent to %s</string>
|
||||
<string name="rebot_config_auto_say_max">Over the maximum value</string>
|
||||
</resources>
|
||||
|
@ -1187,4 +1187,5 @@
|
||||
<string name="participate_in">參與</string>
|
||||
<string name="extract_to">%s在%s中抽取到了</string>
|
||||
<string name="extract_to2">%S送给了%s</string>
|
||||
<string name="rebot_config_auto_say_max">超过最大值</string>
|
||||
</resources>
|
||||
|
@ -1186,4 +1186,5 @@
|
||||
<string name="participate_in">參與</string>
|
||||
<string name="extract_to">%s在%s中抽取到了</string>
|
||||
<string name="extract_to2">%S送给了%s</string>
|
||||
<string name="rebot_config_auto_say_max">超过最大值</string>
|
||||
</resources>
|
||||
|
@ -1187,4 +1187,5 @@
|
||||
<string name="participate_in">參與</string>
|
||||
<string name="extract_to">%s在%s中抽取到了</string>
|
||||
<string name="extract_to2">%S送给了%s</string>
|
||||
<string name="rebot_config_auto_say_max">超过最大值</string>
|
||||
</resources>
|
||||
|
@ -1193,4 +1193,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="extract_to">%s is extracted from %s</string>
|
||||
<string name="extract_to2">%S sent to %s</string>
|
||||
<string name="live_vote_create_error">Create Vote Error</string>
|
||||
<string name="rebot_config_auto_say_max">Over the maximum value</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user