@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.
package/compose/build.gradle.kts
CHANGED
|
@@ -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()
|