diff --git a/app/src/main/java/com/easyhz/noffice/MainActivity.kt b/app/src/main/java/com/easyhz/noffice/MainActivity.kt index 3aa82cac..531de7fe 100644 --- a/app/src/main/java/com/easyhz/noffice/MainActivity.kt +++ b/app/src/main/java/com/easyhz/noffice/MainActivity.kt @@ -3,6 +3,7 @@ package com.easyhz.noffice import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent +import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import com.easyhz.noffice.core.design_system.theme.NofficeTheme import com.easyhz.noffice.navigation.rememberNofficeNavController import dagger.hilt.android.AndroidEntryPoint @@ -12,6 +13,7 @@ class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) // WindowCompat.setDecorFitsSystemWindows(window, false) + installSplashScreen() setContent { val nofficeNavController = rememberNofficeNavController() NofficeTheme {