keep playback running when offline mode is toggled, and swap the recently-added header icon

This commit is contained in:
austinried
2026-10-04 00:30:06 +00:00
parent bf180ef711
commit 4779bfc88b
3 changed files with 15 additions and 8 deletions
@@ -2535,7 +2535,8 @@ class PlaybackControllerTest {
handle.operations.clear()
setOnline()
await { handle.operations.any { it.startsWith("setWindow") } }
await { handle.operations.any { it.startsWith("add") } }
assertFalse(handle.operations.any { it.startsWith("setWindow") })
assertEquals(
"s5",
controller.state.value.item
@@ -2801,7 +2802,8 @@ class PlaybackControllerTest {
setOffline()
await { handle.operations.any { it.startsWith("setWindow") } }
await { handle.operations.any { it.startsWith("remove") || it.startsWith("add") } }
assertFalse(handle.operations.any { it.startsWith("setWindow") })
assertEquals(
"s2",
controller.state.value.item