File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
vnext/Microsoft.ReactNative/Fabric/Composition/TextInput Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -600,9 +600,6 @@ std::string WindowsTextInputComponentView::DefaultControlType() const noexcept {
600600void WindowsTextInputComponentView::updateProps (
601601 facebook::react::Props::Shared const &props,
602602 facebook::react::Props::Shared const &oldProps) noexcept {
603- const auto &oldViewProps = *std::static_pointer_cast<const facebook::react::ViewProps>(m_props);
604- const auto &newViewProps = *std::static_pointer_cast<const facebook::react::ViewProps>(props);
605-
606603 const auto &oldTextInputProps = *std::static_pointer_cast<const facebook::react::WindowsTextInputProps>(m_props);
607604 const auto &newTextInputProps = *std::static_pointer_cast<const facebook::react::WindowsTextInputProps>(props);
608605
@@ -646,7 +643,7 @@ void WindowsTextInputComponentView::updateProps(
646643 m_needsRedraw = true ;
647644 }
648645
649- if (oldViewProps .backgroundColor != newViewProps .backgroundColor ) {
646+ if (oldTextInputProps .backgroundColor != newTextInputProps .backgroundColor ) {
650647 m_needsRedraw = true ;
651648 }
652649
You can’t perform that action at this time.
0 commit comments