From 1cc9553d1f2a44bf828ca51ba6cd51046f41414f Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 11 Jun 2026 22:50:02 -0400 Subject: [PATCH] fix(android): move "You might like" directly under the system-playlists row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Operator expected the row immediately beneath the system-generated playlists section, not below Rediscover. Reorders the section call (presentation only — no logic/state change) and updates the doc comment. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../minstrel/home/ui/HomeScreen.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/android/app/src/main/java/com/fabledsword/minstrel/home/ui/HomeScreen.kt b/android/app/src/main/java/com/fabledsword/minstrel/home/ui/HomeScreen.kt index 58841748..e3d047fb 100644 --- a/android/app/src/main/java/com/fabledsword/minstrel/home/ui/HomeScreen.kt +++ b/android/app/src/main/java/com/fabledsword/minstrel/home/ui/HomeScreen.kt @@ -476,18 +476,18 @@ private fun HomeSuccessContent( onPlayPlaylist = onPlayPlaylist, ) } - recentlyAddedSection(sections.recentlyAddedAlbums, onAlbumClick, onPlayAlbum) - rediscoverSection( - albums = sections.rediscoverAlbums, - artists = sections.rediscoverArtists, + youMightLikeSection( + albums = sections.youMightLikeAlbums, + artists = sections.youMightLikeArtists, onAlbumClick = onAlbumClick, onArtistClick = onArtistClick, onPlayAlbum = onPlayAlbum, onPlayArtist = onPlayArtist, ) - youMightLikeSection( - albums = sections.youMightLikeAlbums, - artists = sections.youMightLikeArtists, + recentlyAddedSection(sections.recentlyAddedAlbums, onAlbumClick, onPlayAlbum) + rediscoverSection( + albums = sections.rediscoverAlbums, + artists = sections.rediscoverArtists, onAlbumClick = onAlbumClick, onArtistClick = onArtistClick, onPlayAlbum = onPlayAlbum, @@ -691,9 +691,9 @@ private fun RediscoverBlock( /** * "You might like" — in-library albums/artists predicted from the user's * taste that they don't actively spin (server section, daily-built, cold- - * start gated). Same albums-then-artists block shape as Rediscover; the - * artist sub-row drops its title when an album sub-row precedes it so the - * two read as one section. + * start gated). Sits directly under the system-playlists row. Same + * albums-then-artists block shape as Rediscover; the artist sub-row drops + * its title when an album sub-row precedes it so the two read as one section. */ private fun LazyListScope.youMightLikeSection( albums: List>, -- 2.52.0