From 690dbc70be6a816783d60703bde9e2114781d737 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Thu, 24 Sep 2026 08:20:45 +0000 Subject: [PATCH] keep the now playing overlay open when playback ends --- app/src/main/kotlin/com/subtracks/ui/AppRoot.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/AppRoot.kt b/app/src/main/kotlin/com/subtracks/ui/AppRoot.kt index b1251001..7a9d9b70 100644 --- a/app/src/main/kotlin/com/subtracks/ui/AppRoot.kt +++ b/app/src/main/kotlin/com/subtracks/ui/AppRoot.kt @@ -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() }