mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
Update core-splashscreen (#9629)
This commit is contained in:
parent
b8af1621b5
commit
b4393ff741
3 changed files with 2 additions and 3 deletions
1
.github/renovate.json
vendored
1
.github/renovate.json
vendored
|
@ -4,7 +4,6 @@
|
|||
],
|
||||
"schedule": ["every sunday"],
|
||||
"ignoreDeps": [
|
||||
"androidx.core:core-splashscreen",
|
||||
"com.android.tools:r8",
|
||||
"com.google.guava:guava"
|
||||
]
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue