Преглед на файлове

提交人:jtm
wifi密码按钮

江天明 преди 1 година
родител
ревизия
35dd7a2141
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      BusinessCommon/src/main/java/com/develop/common/widget/WifiContentView.kt

+ 1 - 1
BusinessCommon/src/main/java/com/develop/common/widget/WifiContentView.kt

@@ -41,7 +41,7 @@ class WifiContentView : RelativeLayout {
             }
         }
         binding.ckbEye.setOnCheckedChangeListener { compoundButton, b ->
-            if (b) {
+            if (!b) {
                 binding.etPwd.transformationMethod = PasswordTransformationMethod.getInstance()
             } else {
                 binding.etPwd.transformationMethod = HideReturnsTransformationMethod.getInstance()