keep the now playing overlay open when playback ends

This commit is contained in:
austinried
2026-10-04 00:29:54 +00:00
parent b6c23f23aa
commit 690dbc70be
@@ -136,13 +136,6 @@ private fun MainNavigation() {
LaunchedEffect(Unit) { if (nowPlayingOpen) nowPlayingProgress = 1f }
val playerVisible = playback.item != null
LaunchedEffect(playerVisible) {
if (!playerVisible) {
settleJob?.cancel()
nowPlayingOpen = false
nowPlayingProgress = 0f
}
}
val density = LocalDensity.current
val navBarInset = with(density) { WindowInsets.navigationBars.getBottom(this).toDp() }