diff --git a/common/src/main/java/com/yunbao/common/views/LiveRobotSayHelloCustomPopup.java b/common/src/main/java/com/yunbao/common/views/LiveRobotSayHelloCustomPopup.java
index a04d91c13..eeef5348b 100644
--- a/common/src/main/java/com/yunbao/common/views/LiveRobotSayHelloCustomPopup.java
+++ b/common/src/main/java/com/yunbao/common/views/LiveRobotSayHelloCustomPopup.java
@@ -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
diff --git a/common/src/main/res/values-en-rUS/string.xml b/common/src/main/res/values-en-rUS/string.xml
index 73700713f..94ecd406a 100644
--- a/common/src/main/res/values-en-rUS/string.xml
+++ b/common/src/main/res/values-en-rUS/string.xml
@@ -1192,4 +1192,5 @@ Limited ride And limited avatar frame
Participate in
%s is extracted from %s
%S sent to %s
+ Over the maximum value
diff --git a/common/src/main/res/values-zh-rHK/strings.xml b/common/src/main/res/values-zh-rHK/strings.xml
index b424e7c69..2250a1b9c 100644
--- a/common/src/main/res/values-zh-rHK/strings.xml
+++ b/common/src/main/res/values-zh-rHK/strings.xml
@@ -1187,4 +1187,5 @@
參與
%s在%s中抽取到了
%S送给了%s
+ 超过最大值
diff --git a/common/src/main/res/values-zh-rTW/strings.xml b/common/src/main/res/values-zh-rTW/strings.xml
index 1bf2c4121..c928ed64d 100644
--- a/common/src/main/res/values-zh-rTW/strings.xml
+++ b/common/src/main/res/values-zh-rTW/strings.xml
@@ -1186,4 +1186,5 @@
參與
%s在%s中抽取到了
%S送给了%s
+ 超过最大值
diff --git a/common/src/main/res/values-zh/strings.xml b/common/src/main/res/values-zh/strings.xml
index 9774abb9c..d6b8c690f 100644
--- a/common/src/main/res/values-zh/strings.xml
+++ b/common/src/main/res/values-zh/strings.xml
@@ -1187,4 +1187,5 @@
參與
%s在%s中抽取到了
%S送给了%s
+ 超过最大值
diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml
index db6089d82..3f0fb1775 100644
--- a/common/src/main/res/values/strings.xml
+++ b/common/src/main/res/values/strings.xml
@@ -1193,4 +1193,5 @@ Limited ride And limited avatar frame
%s is extracted from %s
%S sent to %s
Create Vote Error
+ Over the maximum value