put the mixed menu back to two rows, and only badge real progress

The split bar read badly; a partly downloaded list goes back to stacked
Download and Delete items.

The badge showed progress for any list with a downloaded song in it, which
made a mostly-downloaded album look like it was fetching. It now shows only
when that list is complete or has a download actually in flight; a partly
downloaded idle list shows nothing.

The album and playlist detail screens' more-menus had no download entries at
all, leaving delete reachable only via the hero's long press. They now take
the same status-driven items as everywhere else.
This commit is contained in:
austinried
2026-10-04 00:30:03 +00:00
parent 0f3dc45081
commit b4f69affc9
5 changed files with 44 additions and 67 deletions
@@ -21,8 +21,13 @@ class DownloadIndicatorTest {
}
@Test
fun aPartlyDownloadedListShowsProgress() {
assertEquals(DownloadIndicator.InProgress, ListDownloadStatus(total = 4, downloaded = 2).indicator())
fun aPartlyDownloadedIdleListShowsNothing() {
assertEquals(DownloadIndicator.Hidden, ListDownloadStatus(total = 4, downloaded = 2).indicator())
}
@Test
fun aPartlyDownloadedListWithSomethingInFlightShowsProgress() {
assertEquals(DownloadIndicator.InProgress, ListDownloadStatus(total = 4, downloaded = 2, downloading = 1).indicator())
}
@Test