1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-12 19:15:23 +01:00

Update dependencies

This commit is contained in:
topjohnwu 2022-01-14 00:07:19 -08:00
parent a7af8b5722
commit d7b51d2807
3 changed files with 6 additions and 6 deletions

View File

@ -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")
}

View File

@ -43,7 +43,7 @@ abstract class BaseMainActivity<VM : BaseViewModel, Binding : ViewDataBinding>
if (!isRunningAsStub) {
val splashScreen = installSplashScreen()
splashScreen.setKeepVisibleCondition { doPreload }
splashScreen.setKeepOnScreenCondition { doPreload }
}
if (doPreload) {

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- For stub on API 31+, we cannot rely on the platform SplashScreen -->
<!-- Force using SplashScreenBase that was used for older APIs -->
<style name="StubSplashTheme" parent="Theme.SplashScreenBase">
<!-- Force using SplashScreen.Common that was used for older APIs -->
<style name="StubSplashTheme" parent="Theme.SplashScreen.Common">
<item name="android:enforceStatusBarContrast">false</item>
<item name="android:enforceNavigationBarContrast">false</item>
<item name="windowSplashScreenBackground">@color/splash_background</item>