diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/CreateTypefaceObject.java b/ReactAndroid/src/main/java/com/facebook/react/views/text/CreateTypefaceObject.java new file mode 100644 index 00000000000000..123b15706f1d1e --- /dev/null +++ b/ReactAndroid/src/main/java/com/facebook/react/views/text/CreateTypefaceObject.java @@ -0,0 +1,16 @@ +package com.facebook.react.views.text; + +import android.content.res.AssetManager; + +public class CreateTypefaceObject { + public String fontFamilyName; + public int style; + public AssetManager assetManager; + + public CreateTypefaceObject( + String fontFamilyName, int style, AssetManager assetManager) { + this.fontFamilyName = fontFamilyName; + this.style = style; + this.assetManager = assetManager; + } +} diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactFontManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactFontManager.java index bfeb9295f1255a..b321e581786fa1 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactFontManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactFontManager.java @@ -26,19 +26,6 @@ import java.util.List; import java.util.Map; -class CreateTypefaceObject { - public String fontFamilyName; - public int style; - public AssetManager assetManager; - - public CreateTypefaceObject( - String fontFamilyName, int style, AssetManager assetManager) { - this.fontFamilyName = fontFamilyName; - this.style = style; - this.assetManager = assetManager; - } -} - /** * Responsible for loading and caching Typeface objects. *