mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-06 11:30:05 +00:00
parent
f065e27203
commit
e7e6e333e6
1 changed files with 9 additions and 0 deletions
|
|
@ -977,6 +977,14 @@ private fun MainAppContent(
|
|||
}
|
||||
}
|
||||
|
||||
LaunchedEffect(currentBackStackEntry?.destination) {
|
||||
val inPlaybackFlow = currentBackStackEntry?.destination?.hasRoute<StreamRoute>() == true ||
|
||||
currentBackStackEntry?.destination?.hasRoute<PlayerRoute>() == true
|
||||
if (inPlaybackFlow) {
|
||||
resumePromptItem = null
|
||||
}
|
||||
}
|
||||
|
||||
LaunchedEffect(navController) {
|
||||
AppDeepLinkRepository.pendingDeepLink.collectLatest { deepLink ->
|
||||
when (deepLink) {
|
||||
|
|
@ -1268,6 +1276,7 @@ private fun MainAppContent(
|
|||
}
|
||||
|
||||
val openContinueWatching: (ContinueWatchingItem, Boolean, Boolean) -> Unit = { item, manualSelection, startFromBeginning ->
|
||||
resumePromptItem = null
|
||||
if (item.isCloudLibraryContinueWatchingItem()) {
|
||||
coroutineScope.launch {
|
||||
when (
|
||||
|
|
|
|||
Loading…
Reference in a new issue