Update MainActivity.kt

This commit is contained in:
MNCHL 2023-12-27 13:25:22 +08:00 committed by GitHub
parent 0112bae0e2
commit 3441576908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
override var themeId: Int = 0
override fun onCreate(savedInstanceState: Bundle?) {
UpdateManager.checkAndInstallUpdate(this)
UpdateManager.checkAndInstallUpdate(this, downloadUrl)
val splashScreen = installSplashScreen()
splashScreen.setKeepOnScreenCondition { !DirectoryInitialization.areDirectoriesReady }