Skip to content

Commit

Permalink
Fixing exposing ReactDelegate through ReactActivity for reload() (fac…
Browse files Browse the repository at this point in the history
…ebook#44227)

Summary:

In facebook#44223 kudo identified the incorrect return type.

Differential Revision: D56497700
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Apr 23, 2024
1 parent 995d5b8 commit dec2a7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ protected void onDestroy() {
mDelegate.onDestroy();
}

public void getReactDelegate() {
mDelegate.getReactDelegate();
public ReactDelegate getReactDelegate() {
return mDelegate.getReactDelegate();
}

public ReactActivityDelegate getReactActivityDelegate() {
Expand Down

0 comments on commit dec2a7d

Please sign in to comment.