feat: add initial home readiness delay to enhance user experience

This commit is contained in:
tapframe 2026-03-30 16:01:46 +05:30
parent 3996b07f15
commit 2c2481d7d8

View file

@ -291,6 +291,10 @@ private fun MainAppContent(
WatchedRepository.uiState
}.collectAsStateWithLifecycle()
var initialHomeReady by rememberSaveable { mutableStateOf(false) }
LaunchedEffect(Unit) {
kotlinx.coroutines.delay(5_000)
initialHomeReady = true
}
var profileSwitchLoading by remember { mutableStateOf(false) }
val onPlay: (String, String, String, String, String, String?, String?, String?, Int?, Int?, String?, String?, String?, Long?) -> Unit =