mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
Update core-splashscreen (#9629)
This commit is contained in:
parent
b8af1621b5
commit
b4393ff741
1
.github/renovate.json
vendored
1
.github/renovate.json
vendored
@ -4,7 +4,6 @@
|
|||||||
],
|
],
|
||||||
"schedule": ["every sunday"],
|
"schedule": ["every sunday"],
|
||||||
"ignoreDeps": [
|
"ignoreDeps": [
|
||||||
"androidx.core:core-splashscreen",
|
|
||||||
"com.android.tools:r8",
|
"com.android.tools:r8",
|
||||||
"com.google.guava:guava"
|
"com.google.guava:guava"
|
||||||
]
|
]
|
||||||
|
@ -262,7 +262,7 @@ class MainActivity : BaseActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val startTime = System.currentTimeMillis()
|
val startTime = System.currentTimeMillis()
|
||||||
splashScreen?.setKeepVisibleCondition {
|
splashScreen?.setKeepOnScreenCondition {
|
||||||
val elapsed = System.currentTimeMillis() - startTime
|
val elapsed = System.currentTimeMillis() - startTime
|
||||||
elapsed <= SPLASH_MIN_DURATION || (!ready && elapsed <= SPLASH_MAX_DURATION)
|
elapsed <= SPLASH_MIN_DURATION || (!ready && elapsed <= SPLASH_MAX_DURATION)
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ appcompat = "androidx.appcompat:appcompat:1.6.1"
|
|||||||
biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha05"
|
biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha05"
|
||||||
constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
|
constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
|
||||||
corektx = "androidx.core:core-ktx:1.11.0-beta02"
|
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"
|
recyclerview = "androidx.recyclerview:recyclerview:1.3.1-rc01"
|
||||||
viewpager = "androidx.viewpager:viewpager:1.1.0-alpha01"
|
viewpager = "androidx.viewpager:viewpager:1.1.0-alpha01"
|
||||||
glance = "androidx.glance:glance-appwidget:1.0.0-beta01"
|
glance = "androidx.glance:glance-appwidget:1.0.0-beta01"
|
||||||
|
Loading…
Reference in New Issue
Block a user