From d7b51d2807c3a4c8dc4b5e1b2fbefbf32e627afe Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 14 Jan 2022 00:07:19 -0800 Subject: [PATCH] Update dependencies --- app/build.gradle.kts | 6 +++--- .../main/java/com/topjohnwu/magisk/arch/BaseMainActivity.kt | 2 +- app/src/main/res/values-v31/themes.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8d9ec7976..01c2f33de 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -105,7 +105,7 @@ dependencies { implementation("com.squareup.moshi:moshi:${vMoshi}") kapt("com.squareup.moshi:moshi-kotlin-codegen:${vMoshi}") - val vRoom = "2.4.0" + val vRoom = "2.4.1" implementation("androidx.room:room-runtime:${vRoom}") implementation("androidx.room:room-ktx:${vRoom}") kapt("androidx.room:room-compiler:${vRoom}") @@ -117,12 +117,12 @@ dependencies { implementation("androidx.biometric:biometric:1.1.0") implementation("androidx.constraintlayout:constraintlayout:2.1.2") implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") - implementation("androidx.appcompat:appcompat:1.4.0") + implementation("androidx.appcompat:appcompat:1.4.1") implementation("androidx.preference:preference:1.1.1") implementation("androidx.recyclerview:recyclerview:1.2.1") implementation("androidx.fragment:fragment-ktx:1.4.0") implementation("androidx.transition:transition:1.4.1") implementation("androidx.core:core-ktx:1.7.0") - implementation("androidx.core:core-splashscreen:1.0.0-alpha02") + implementation("androidx.core:core-splashscreen:1.0.0-beta01") implementation("com.google.android.material:material:1.4.0") } diff --git a/app/src/main/java/com/topjohnwu/magisk/arch/BaseMainActivity.kt b/app/src/main/java/com/topjohnwu/magisk/arch/BaseMainActivity.kt index 617abed44..c3e972eed 100644 --- a/app/src/main/java/com/topjohnwu/magisk/arch/BaseMainActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/arch/BaseMainActivity.kt @@ -43,7 +43,7 @@ abstract class BaseMainActivity if (!isRunningAsStub) { val splashScreen = installSplashScreen() - splashScreen.setKeepVisibleCondition { doPreload } + splashScreen.setKeepOnScreenCondition { doPreload } } if (doPreload) { diff --git a/app/src/main/res/values-v31/themes.xml b/app/src/main/res/values-v31/themes.xml index 9f1ee2c39..a458579bb 100644 --- a/app/src/main/res/values-v31/themes.xml +++ b/app/src/main/res/values-v31/themes.xml @@ -1,8 +1,8 @@ - -