瀏覽代碼

提交人: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()