Skip to content

Commit

Permalink
remove unused getTagline extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed Nov 29, 2023
1 parent 2ddb95f commit 988ace8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ fun Translation?.getName(tool: Tool?, context: Context?) =
fun Translation?.getDescription(tool: Tool?, context: Context?) =
this?.let { description?.applyTypefaceSpan(getTypeface(context)) } ?: tool?.description ?: ""

@JvmName("getTranslationTagline")
fun Translation?.getTagline(tool: Tool?, context: Context?) =
this?.let { (tagline ?: description)?.applyTypefaceSpan(getTypeface(context)) } ?: tool?.description ?: ""

@DeprecatedSinceApi(Build.VERSION_CODES.M)
fun Translation.getFontFamilyOrNull() = languageCode.getFontFamilyOrNull()

Expand Down

0 comments on commit 988ace8

Please sign in to comment.