Merge pull request #109 from android/renovate/androidxcore

Update dependency androidx.core:core-ktx to v1.8.0
pull/139/head
Caren 3 years ago committed by GitHub
commit d11a16c86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,8 +156,14 @@ fun NewsResourceAuthors(
if (authors.isNotEmpty()) { if (authors.isNotEmpty()) {
// Only display first author for now // Only display first author for now
val author = authors[0] val author = authors[0]
val authorNameFormatted =
author.name.uppercase(ConfigurationCompat.getLocales(LocalConfiguration.current).get(0)) val locale = ConfigurationCompat.getLocales(LocalConfiguration.current).get(0)
val authorNameFormatted = if (locale != null) {
author.name.uppercase(locale)
} else {
author.name.uppercase()
}
val authorImageUrl = author.imageUrl val authorImageUrl = author.imageUrl

@ -6,7 +6,7 @@ androidxActivity = "1.4.0"
androidxAppCompat = "1.4.2" androidxAppCompat = "1.4.2"
androidxCompose = "1.2.0-beta03" androidxCompose = "1.2.0-beta03"
androidxComposeMaterial3 = "1.0.0-alpha13" androidxComposeMaterial3 = "1.0.0-alpha13"
androidxCore = "1.7.0" androidxCore = "1.8.0"
androidxCustomView = "1.0.0-beta02" androidxCustomView = "1.0.0-beta02"
androidxDataStore = "1.0.0" androidxDataStore = "1.0.0"
androidxEspresso = "3.4.0" androidxEspresso = "3.4.0"

Loading…
Cancel
Save