Fix condition to detect use of Paper renderer in TextInput on Android
Summary: changelog: [internal] In D47993140 I removed FabricViewStateManager but made a mistake during refactoring in one of the conditions that detects if we are in paper or fabric.. This fixes it. Reviewed By: cipolleschi Differential Revision: D48390478 fbshipit-source-id: ff6e728f3eaae755b2200e9cd8edd3acdc4708aa
This commit is contained in:
Родитель
e7f6f079cb
Коммит
492c9d1041
|
@ -924,7 +924,7 @@ public class ReactEditText extends AppCompatEditText {
|
|||
// view, we don't need to construct one or apply it at all - it provides no use in Fabric.
|
||||
ReactContext reactContext = getReactContext(this);
|
||||
|
||||
if (mStateWrapper != null && !reactContext.isBridgeless()) {
|
||||
if (mStateWrapper == null && !reactContext.isBridgeless()) {
|
||||
|
||||
final ReactTextInputLocalData localData = new ReactTextInputLocalData(this);
|
||||
UIManagerModule uiManager = reactContext.getNativeModule(UIManagerModule.class);
|
||||
|
|
Загрузка…
Ссылка в новой задаче