Merge pull request #27 from MNCHL/MNCHL-patch-28

Update MainActivity.kt
This commit is contained in:
MNCHL 2023-12-27 13:25:35 +08:00 committed by GitHub
commit 308963d0da
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 }