Skip to content

Commit

Permalink
reactHostInterface -> reactHost (facebook#39636)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#39636

rename ReactApplication.reactHostInterface -> ReactApplication.reactHost

changelog: [internal] internal

Reviewed By: cortinico, arushikesarwani94

Differential Revision: D49610674

fbshipit-source-id: 24ddf410cf6aae176f673dc574216a3a12f25767
  • Loading branch information
mdvacca authored and ShevO27 committed Sep 26, 2023
1 parent ff4ba6a commit e9185bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected ReactNativeHost getReactNativeHost() {
}

public ReactHost getReactHost() {
return ((ReactApplication) getPlainActivity().getApplication()).getReactHostInterface();
return ((ReactApplication) getPlainActivity().getApplication()).getReactHost();
}

public ReactInstanceManager getReactInstanceManager() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ interface ReactApplication {
val reactNativeHost: ReactNativeHost

/**
* Get the default [ReactHostInterface] for this app. This method will be used by the new
* architecture of react native
* Get the default [ReactHost] for this app. This method will be used by the new architecture of
* react native
*/
val reactHostInterface: ReactHost?
val reactHost: ReactHost?
get() = null
}

0 comments on commit e9185bb

Please sign in to comment.