Skip to content

Commit

Permalink
Fixing exposing ReactDelegate through ReactActivity for reload()
Browse files Browse the repository at this point in the history
Summary: In #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 f288e0b
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 f288e0b

Please sign in to comment.