From e41e146baa077e0da325269fad6d41d04d34ecbd Mon Sep 17 00:00:00 2001 From: Joshua Gross Date: Wed, 22 Jan 2020 18:47:25 -0800 Subject: [PATCH] Fix toggling between hidden and visible password Summary: A previous PR broke toggling between visible and non-visible password (basically once a password field was made visible, future updates to the keyboardType were effectively ignored, so the password would always be visible). Original PR: https://github.com/facebook/react-native/pull/27523 Changelog: [Internal] Reviewed By: mdvacca, rodrigos-facebook Differential Revision: D19527245 fbshipit-source-id: a5ab343c8a0c6a608171dbfa5afc7536ff241826 --- .../textinput/ReactTextInputManager.java | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java index 45b2c68145b..47ae56222e9 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java @@ -96,6 +96,10 @@ public class ReactTextInputManager extends BaseViewManager