home: paginate the offline lists and add More to each downloaded section

This commit is contained in:
austinried
2026-10-04 00:30:06 +00:00
parent c44987ff31
commit 3df16826e6
9 changed files with 238 additions and 66 deletions
@@ -96,6 +96,7 @@ class HomeScreenshotTest {
albums = remember { flowOf(PagingData.from(albums)) }.collectAsLazyPagingItems(),
artists = remember { flowOf(PagingData.empty<Artist>()) }.collectAsLazyPagingItems(),
songs = remember { flowOf(PagingData.empty<AlbumSongItem>()) }.collectAsLazyPagingItems(),
playlists = remember { flowOf(PagingData.empty<Playlist>()) }.collectAsLazyPagingItems(),
coverArt = { _, _ -> null },
)
}
@@ -121,6 +122,7 @@ class HomeScreenshotTest {
albums = remember { flowOf(PagingData.empty<Album>()) }.collectAsLazyPagingItems(),
artists = remember { flowOf(PagingData.from(artists)) }.collectAsLazyPagingItems(),
songs = remember { flowOf(PagingData.empty<AlbumSongItem>()) }.collectAsLazyPagingItems(),
playlists = remember { flowOf(PagingData.empty<Playlist>()) }.collectAsLazyPagingItems(),
coverArt = { _, _ -> null },
)
}