mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-07-26 22:42:17 +00:00
refactor: reuse resume point for resumeprompt
This commit is contained in:
parent
33df373be0
commit
5fc91009bb
2 changed files with 3 additions and 18 deletions
|
|
@ -1446,22 +1446,7 @@ private fun MainAppContent(
|
|||
onAction = {
|
||||
val item = resumePromptItem ?: return@NuvioFloatingPrompt
|
||||
resumePromptItem = null
|
||||
onPlay(
|
||||
item.parentMetaType,
|
||||
item.videoId,
|
||||
item.parentMetaId,
|
||||
item.parentMetaType,
|
||||
item.title,
|
||||
item.logo,
|
||||
item.poster,
|
||||
item.background,
|
||||
item.seasonNumber,
|
||||
item.episodeNumber,
|
||||
item.episodeTitle,
|
||||
item.episodeThumbnail,
|
||||
item.pauseDescription,
|
||||
item.resumePositionMs,
|
||||
)
|
||||
openContinueWatching(item, false, false)
|
||||
},
|
||||
onDismiss = { resumePromptItem = null },
|
||||
modifier = Modifier
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
CURRENT_PROJECT_VERSION=16
|
||||
MARKETING_VERSION=0.1.0-alpha16
|
||||
CURRENT_PROJECT_VERSION=18
|
||||
MARKETING_VERSION=0.1.0-alpha18
|
||||
Loading…
Reference in a new issue