diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt index c70625691..ab70be2ee 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt @@ -39,7 +39,7 @@ object LocaleHelper { } else { getLocale(lang) } - return locale.getDisplayName(locale).replaceFirstChar { it.uppercase(locale) } + return locale!!.getDisplayName(locale).replaceFirstChar { it.uppercase(locale) } } /** diff --git a/gradle/androidx.versions.toml b/gradle/androidx.versions.toml index edada847a..4b3b31d2f 100644 --- a/gradle/androidx.versions.toml +++ b/gradle/androidx.versions.toml @@ -1,6 +1,6 @@ [versions] agp_version = "7.1.2" -lifecycle_version = "2.5.0-alpha02" +lifecycle_version = "2.5.0-alpha05" [libraries] annotation = "androidx.annotation:annotation:1.4.0-alpha02" @@ -9,7 +9,7 @@ biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha04" browser = "androidx.browser:browser:1.4.0" constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.3" coordinatorlayout = "androidx.coordinatorlayout:coordinatorlayout:1.2.0" -corektx = "androidx.core:core-ktx:1.8.0-alpha04" +corektx = "androidx.core:core-ktx:1.8.0-alpha05" splashscreen = "androidx.core:core-splashscreen:1.0.0-alpha02" recyclerview = "androidx.recyclerview:recyclerview:1.3.0-alpha01" swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"