From 988ace85b3232265221d6b85b3e97d50f51cf0a7 Mon Sep 17 00:00:00 2001 From: Daniel Frett Date: Tue, 21 Nov 2023 14:37:36 -0700 Subject: [PATCH] remove unused getTagline extension method --- .../main/kotlin/org/cru/godtools/base/ui/util/ModelUtils.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/base/src/main/kotlin/org/cru/godtools/base/ui/util/ModelUtils.kt b/ui/base/src/main/kotlin/org/cru/godtools/base/ui/util/ModelUtils.kt index 275bc5d04c..0d40049304 100644 --- a/ui/base/src/main/kotlin/org/cru/godtools/base/ui/util/ModelUtils.kt +++ b/ui/base/src/main/kotlin/org/cru/godtools/base/ui/util/ModelUtils.kt @@ -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()