diff --git a/.github/renovate.json b/.github/renovate.json index 3054832f9..6ef7132f3 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -4,7 +4,6 @@ ], "schedule": ["every sunday"], "ignoreDeps": [ - "androidx.core:core-splashscreen", "com.android.tools:r8", "com.google.guava:guava" ] diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index 92ea5e945..053e07eb9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -262,7 +262,7 @@ class MainActivity : BaseActivity() { } val startTime = System.currentTimeMillis() - splashScreen?.setKeepVisibleCondition { + splashScreen?.setKeepOnScreenCondition { val elapsed = System.currentTimeMillis() - startTime elapsed <= SPLASH_MIN_DURATION || (!ready && elapsed <= SPLASH_MAX_DURATION) } diff --git a/gradle/androidx.versions.toml b/gradle/androidx.versions.toml index 5dcdca063..569005b82 100644 --- a/gradle/androidx.versions.toml +++ b/gradle/androidx.versions.toml @@ -11,7 +11,7 @@ appcompat = "androidx.appcompat:appcompat:1.6.1" biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha05" constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4" corektx = "androidx.core:core-ktx:1.11.0-beta02" -splashscreen = "androidx.core:core-splashscreen:1.0.0-alpha02" +splashscreen = "androidx.core:core-splashscreen:1.0.1" recyclerview = "androidx.recyclerview:recyclerview:1.3.1-rc01" viewpager = "androidx.viewpager:viewpager:1.1.0-alpha01" glance = "androidx.glance:glance-appwidget:1.0.0-beta01"