Move "You might like" row under the system-playlists section #93
@@ -476,18 +476,18 @@ private fun HomeSuccessContent(
|
|||||||
onPlayPlaylist = onPlayPlaylist,
|
onPlayPlaylist = onPlayPlaylist,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
recentlyAddedSection(sections.recentlyAddedAlbums, onAlbumClick, onPlayAlbum)
|
youMightLikeSection(
|
||||||
rediscoverSection(
|
albums = sections.youMightLikeAlbums,
|
||||||
albums = sections.rediscoverAlbums,
|
artists = sections.youMightLikeArtists,
|
||||||
artists = sections.rediscoverArtists,
|
|
||||||
onAlbumClick = onAlbumClick,
|
onAlbumClick = onAlbumClick,
|
||||||
onArtistClick = onArtistClick,
|
onArtistClick = onArtistClick,
|
||||||
onPlayAlbum = onPlayAlbum,
|
onPlayAlbum = onPlayAlbum,
|
||||||
onPlayArtist = onPlayArtist,
|
onPlayArtist = onPlayArtist,
|
||||||
)
|
)
|
||||||
youMightLikeSection(
|
recentlyAddedSection(sections.recentlyAddedAlbums, onAlbumClick, onPlayAlbum)
|
||||||
albums = sections.youMightLikeAlbums,
|
rediscoverSection(
|
||||||
artists = sections.youMightLikeArtists,
|
albums = sections.rediscoverAlbums,
|
||||||
|
artists = sections.rediscoverArtists,
|
||||||
onAlbumClick = onAlbumClick,
|
onAlbumClick = onAlbumClick,
|
||||||
onArtistClick = onArtistClick,
|
onArtistClick = onArtistClick,
|
||||||
onPlayAlbum = onPlayAlbum,
|
onPlayAlbum = onPlayAlbum,
|
||||||
@@ -691,9 +691,9 @@ private fun RediscoverBlock(
|
|||||||
/**
|
/**
|
||||||
* "You might like" — in-library albums/artists predicted from the user's
|
* "You might like" — in-library albums/artists predicted from the user's
|
||||||
* taste that they don't actively spin (server section, daily-built, cold-
|
* taste that they don't actively spin (server section, daily-built, cold-
|
||||||
* start gated). Same albums-then-artists block shape as Rediscover; the
|
* start gated). Sits directly under the system-playlists row. Same
|
||||||
* artist sub-row drops its title when an album sub-row precedes it so the
|
* albums-then-artists block shape as Rediscover; the artist sub-row drops
|
||||||
* two read as one section.
|
* its title when an album sub-row precedes it so the two read as one section.
|
||||||
*/
|
*/
|
||||||
private fun LazyListScope.youMightLikeSection(
|
private fun LazyListScope.youMightLikeSection(
|
||||||
albums: List<HomeTile<AlbumRef>>,
|
albums: List<HomeTile<AlbumRef>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user