Skip to content

Commit

Permalink
Make helper object public
Browse files Browse the repository at this point in the history
  • Loading branch information
GregKWhite committed Jul 3, 2024
1 parent c1bdc3c commit 448dfcf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 448dfcf

Please sign in to comment.