Removed method call to RCTRootView::setReactPreferredFocusedView as ... (#21596)

Summary:
…it doesn't exist (#21593)

Fixes #21593

RCTTVView.m contains a method called `setHasTVPreferredFocus`, where the following function call breaks the build:

      [(RCTRootView *)rootview setReactPreferredFocusedView:self];

`setReactPreferredFocusedView` was formerly part of **RCTRootViewInternal.h** but was removed sometime.
Pull Request resolved: https://github.com/facebook/react-native/pull/21596

Differential Revision: D13761925

Pulled By: cpojer

fbshipit-source-id: be536786d7a8209f3a97b039e17d68d0aa653a0d
This commit is contained in:
Hagen Hübel 2019-01-22 07:30:57 -08:00 committed by Facebook Github Bot
parent f66e8ebf51
commit 5ebe84c704
1 changed files with 0 additions and 1 deletions

View File

@ -237,7 +237,6 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:unused)
rootview = [rootview superview];
[(RCTRootView *)rootview setReactPreferredFocusedView:self];
[rootview setNeedsFocusUpdate];
[rootview updateFocusIfNeeded];
});