Revert D4620034: [react-native][PR] Fix: set underlineColorAndroid properly

Differential Revision: D4620034

fbshipit-source-id: edb589ace310008866d8d4df5fbf00e785976402
This commit is contained in:
Andy Street 2017-02-28 03:16:46 -08:00 committed by Facebook Github Bot
parent 2a1ab36257
commit 0884c3e3d1
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
if (underlineColor == null) {
view.getBackground().clearColorFilter();
} else {
view.getBackground().mutate().setColorFilter(underlineColor, PorterDuff.Mode.SRC_IN);
view.getBackground().setColorFilter(underlineColor, PorterDuff.Mode.SRC_IN);
}
}