fixed next episode prompt displaying way too early; update sdk

This commit is contained in:
2026-10-25 22:15:13 -04:00
parent 8cd9ec3671
commit bd7d443f21
3 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@ fun PlayerScreen(
} }
} }
val seg = activeSegment val seg = activeSegment
val showNextPrompt = isNextEpAvailable && durationMs > 0 && (durationMs - currentPositionMs) in 1..300000 val showNextPrompt = isNextEpAvailable && durationMs > 0 && (durationMs - currentPositionMs) in 1..30000
if ((seg != null || showNextPrompt) && activeMenu == ActivePlayerMenu.NONE && !isEpisodesDrawerOpen) { if ((seg != null || showNextPrompt) && activeMenu == ActivePlayerMenu.NONE && !isEpisodesDrawerOpen) {
Column( Column(
horizontalAlignment = Alignment.End, horizontalAlignment = Alignment.End,

2
package-lock.json generated
View File

@@ -9,7 +9,7 @@
"version": "1.0.8", "version": "1.0.8",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@vyla-entertainment/sdk": "^1.18.0", "@vyla-entertainment/sdk": "^1.19.0",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"express": "^4.19.2", "express": "^4.19.2",
"hls.js": "^1.7.3" "hls.js": "^1.7.3"

View File

@@ -9,7 +9,7 @@
"android": "node scripts/build-android.mjs" "android": "node scripts/build-android.mjs"
}, },
"dependencies": { "dependencies": {
"@vyla-entertainment/sdk": "^1.18.0", "@vyla-entertainment/sdk": "^1.19.0",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"express": "^4.19.2", "express": "^4.19.2",
"hls.js": "^1.7.3" "hls.js": "^1.7.3"