Commit 6b87d328438fa02f867a3c564fb07ed6c1583e16
1 parent
1f3ab2ad
1 修改音箱改名逻辑
Showing
2 changed files
with
2 additions
and
2 deletions
config.gradle
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 { | ... | ... |