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:
Samuel Susla 2023-08-16 10:07:33 -07:00 коммит произвёл Facebook GitHub Bot
Родитель e7f6f079cb
Коммит 492c9d1041
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);