Skip to content

Commit

Permalink
ReactFontManager constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Flewp committed Jun 13, 2024
1 parent a4c9ccf commit 18313ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import androidx.annotation.RequiresApi;
import androidx.core.content.res.ResourcesCompat;
import com.facebook.infer.annotation.Nullsafe;
import com.facebook.react.common.ReactConstants;

import java.io.IOException;
import java.util.ArrayList;
Expand Down Expand Up @@ -53,7 +54,7 @@ private ReactFontManager() {
public static ReactFontManager getInstance() {
if (sReactFontManagerInstance == null) {
sReactFontManagerInstance =
new ReactFontManager(com.facebook.react.common.assets.ReactFontManager.getInstance());
new ReactFontManager();
}
return sReactFontManagerInstance;
}
Expand Down

0 comments on commit 18313ff

Please sign in to comment.