From 26d5faf379c6fc13678f697ec22c1cc6e96a949d 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 fedddd1f325..423fd80a300 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 @@ -98,6 +98,10 @@ public class ReactTextInputManager extends BaseViewManager