Commit 6b87d328438fa02f867a3c564fb07ed6c1583e16

Authored by YangShuai
1 parent 1f3ab2ad

1 修改音箱改名逻辑

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "0.3.0",
  24 + version: "0.3.1",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/view/ChangeDeviceNameView.java
... ... @@ -35,7 +35,7 @@ public class ChangeDeviceNameView implements MvpView {
35 35  
36 36 @Override
37 37 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
38   - if (null != charSequence && charSequence.length() > 0) {
  38 + if (null != charSequence && charSequence.length() > 2) {
39 39 fragment.binding.ivClose.setVisibility(View.VISIBLE);
40 40 setBtnClick();
41 41 } else {
... ...