Skip to content

Commit

Permalink
chore: introduce bug to Android to see if build step for new arch wil…
Browse files Browse the repository at this point in the history
…l catch it
  • Loading branch information
TheRogue76 committed Jan 5, 2024
1 parent ff24de6 commit b2330d7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ class LottieAnimationViewPropertyManager(view: LottieAnimationView) {
view.setFontAssetDelegate(
object : FontAssetDelegate() {
override fun fetchFont(fontFamily: String): Typeface {
return ReactFontManager.getInstance()
.getTypeface(fontFamily, UNSET, UNSET, view.context.assets)
val typeface =
ReactFontManager.getInstance()
.getTypeface(fontFamily, UNSET, UNSET, view.context.assets)
return typeface ?: Typeface.defaultFromStyle(400)
}

override fun fetchFont(
Expand Down

0 comments on commit b2330d7

Please sign in to comment.