diff --git a/ReactCommon/fabric/components/modal/ModalHostViewComponentDescriptor.h b/ReactCommon/fabric/components/modal/ModalHostViewComponentDescriptor.h index 6e4c21b891f..5d3d389f4f4 100644 --- a/ReactCommon/fabric/components/modal/ModalHostViewComponentDescriptor.h +++ b/ReactCommon/fabric/components/modal/ModalHostViewComponentDescriptor.h @@ -22,8 +22,12 @@ class ModalHostViewComponentDescriptor final : public ConcreteComponentDescriptor { public: #ifdef ANDROID - ModalHostViewComponentDescriptor(EventDispatcher::Weak eventDispatcher) - : ConcreteComponentDescriptor(eventDispatcher) {} + ModalHostViewComponentDescriptor( + EventDispatcher::Weak eventDispatcher, + ContextContainer::Shared const &contextContainer, + ComponentDescriptor::Flavor const &flavor = {}) + : ConcreteComponentDescriptor(eventDispatcher, contextContainer, flavor) { + } #else using ConcreteComponentDescriptor::ConcreteComponentDescriptor; #endif diff --git a/ReactCommon/fabric/components/switch/androidswitch/AndroidSwitchComponentDescriptor.h b/ReactCommon/fabric/components/switch/androidswitch/AndroidSwitchComponentDescriptor.h index 53e38645ec8..3c0f07c28f9 100644 --- a/ReactCommon/fabric/components/switch/androidswitch/AndroidSwitchComponentDescriptor.h +++ b/ReactCommon/fabric/components/switch/androidswitch/AndroidSwitchComponentDescriptor.h @@ -23,8 +23,9 @@ class AndroidSwitchComponentDescriptor final public: AndroidSwitchComponentDescriptor( EventDispatcher::Weak eventDispatcher, - ContextContainer::Shared const &contextContainer) - : ConcreteComponentDescriptor(eventDispatcher), + ContextContainer::Shared const &contextContainer, + ComponentDescriptor::Flavor const &flavor = {}) + : ConcreteComponentDescriptor(eventDispatcher, contextContainer, flavor), measurementsManager_(std::make_shared( contextContainer)) {} diff --git a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputComponentDescriptor.h b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputComponentDescriptor.h index 48eb114d00c..14d0d0d23af 100644 --- a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputComponentDescriptor.h +++ b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputComponentDescriptor.h @@ -21,10 +21,12 @@ class AndroidTextInputComponentDescriptor final public: AndroidTextInputComponentDescriptor( EventDispatcher::Weak eventDispatcher, - const ContextContainer::Shared &contextContainer) + const ContextContainer::Shared &contextContainer, + ComponentDescriptor::Flavor const &flavor = {}) : ConcreteComponentDescriptor( eventDispatcher, - contextContainer) {} + contextContainer, + flavor) {} protected: void adopt(UnsharedShadowNode shadowNode) const override {