mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-07-26 22:42:17 +00:00
feat: add initial home readiness delay to enhance user experience
This commit is contained in:
parent
3996b07f15
commit
2c2481d7d8
1 changed files with 4 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue