@momo-kits/native-kits 0.156.6-test.1-debug → 0.156.6-test.2-debug

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.156.6-test.1-debug"
43
+ version = "0.156.6-test.2-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -424,7 +424,7 @@ fun Input(
424
424
 
425
425
  // Right icon (password toggle or custom icon)
426
426
  when {
427
- secureTextEntry -> {
427
+ secureTextEntry && text.value.isNotEmpty() -> {
428
428
  val iconName = if (inputState.passHidden) "24_security_eye_open" else "24_security_eye_off"
429
429
  val togglePassword = {
430
430
  onRightIconPressed()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.156.6-test.1-debug",
3
+ "version": "0.156.6-test.2-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},