Unofficial YouTube Music / Spotify Premium client for Android, built in Liquid Glass. Audio effects, Spotify Connect, listening history, 8 languages. Rust core on librespot.
Kotlin alternativeandroidandroid-applicationclientglassmorphisminnertubelibrespotliquid-glassspotifyspotify-connectspotifyapiyoutube-musicyoutube-playerytdlnis
Reorder the home sections
Lelonio76309d4c85fd
diff --git a/.claude/settings.local.json b/.claude/settings.local.jsonindex 7fd96f3..8cb31a7 100644--- a/.claude/settings.local.json+++ b/.claude/settings.local.json@@ -86,7 +86,8 @@"Bash(./gradlew :app:compileDevKotlin)","Bash(git -c user.name=Emanuele -c [email protected] commit -qm 'Add the Connect device picker to the player *)","Bash(git -c user.name=Emanuele -c [email protected] commit -qm 'Cut the cost of expanding the player *)",- "Bash(git -c user.name=Emanuele -c [email protected] commit -qm 'Blur the page backdrop at decode time *)"+ "Bash(git -c user.name=Emanuele -c [email protected] commit -qm 'Blur the page backdrop at decode time *)",+ "Bash(git -c user.name=Emanuele -c [email protected] commit -qm 'Reorder the home sections *)"]}}diff --git a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.binindex 25cd0f1..04aaaca 100644--- a/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin+++ b/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/configure_fingerprint.bin@@ -2,27 +2,27 @@ C/C++ Structured Logljh/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/additional_project_files.txtCA-?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint �����3 ����3i+?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint ӝ���3 ����3ig-e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build.json �����3� ����3n+e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build.json ԝ���3� ����3nl-j/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build_mini.json �����3� �����3[+j/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/android_gradle_build_mini.json ԝ���3� �����3[Y-W/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja �����3�� ����3_+W/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja ԝ���3�� ����3_]-[/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja.txt �����3d+[/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build.ninja.txt ԝ���3db-`/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build_file_index.txt �����3 @ ����3e+`/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/build_file_index.txt ԝ���3 @ ����3ec-a/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json �����3�� ����3i+a/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json ԝ���3�� ����3ig-e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json.bin �����3 �" ����3o+e/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/compile_commands.json.bin ԝ���3 �" ����3om-k/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/metadata_generation_command.txt �����3+k/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/metadata_generation_command.txt ԝ���3� ����3b`-^/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/prefab_config.json �����3 ( ����3g+^/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/prefab_config.json ԝ���3 ( ����3ge-c/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/symbol_folder_index.txt �����3 b ����3D+c/Users/emanuele/Progetto Spotify/app/.cxx/RelWithDebInfo/151m4dr6/arm64-v8a/symbol_folder_index.txt ԝ���3 b ����3DB-@/Users/emanuele/Progetto Spotify/app/src/main/cpp/CMakeLists.txt �����3 � �Ȅ��3\ No newline at end of file+@/Users/emanuele/Progetto Spotify/app/src/main/cpp/CMakeLists.txt ԝ���3 � �Ȅ��3\ No newline at end of filediff --git a/app/src/main/java/dev/emanuele/spot/ui/home/HomeScreen.kt b/app/src/main/java/dev/emanuele/spot/ui/home/HomeScreen.ktindex 0e72d22..fb1027e 100644--- a/app/src/main/java/dev/emanuele/spot/ui/home/HomeScreen.kt+++ b/app/src/main/java/dev/emanuele/spot/ui/home/HomeScreen.kt@@ -64,12 +64,15 @@ import java.util.Calendar* A filter rather than tabs: the sections keep their order and the chips only* decide which of them are on the page, so nothing moves around when you switch* and "Tutto" is genuinely the whole thing rather than a fourth view.+ *+ * The chips are in the sections' own order, so scrolling walks along them left+ * to right instead of jumping about.*/private enum class Feed(val label: String) {ALL("Tutto"),+ LIBRARY("Libreria"),RELEASES("Novità"),ARTISTS("Artisti"),- LIBRARY("Libreria"),}/**@@ -211,6 +214,18 @@ fun HomeScreen(bottom = contentPadding.calculateBottomPadding(),),) {+ if (showLibrary || filter == Feed.ALL) {+ item(contentType = Feed.LIBRARY.name) { Heading("Le tue playlist") }+ item(contentType = Feed.LIBRARY.name) {+ Carousel(+ playlists.take(if (showLibrary) LIBRARY_SIZE else CAROUSEL_SIZE),+ key = { it.uri },+ ) { playlist ->+ PlaylistTile(playlist) { onOpenPlaylist(playlist) }+ }+ }+ }+if (showReleases && feed.newReleases.isNotEmpty()) {item(contentType = Feed.RELEASES.name) { Heading("Novità") }// Cards rather than another row of thumbnails. A carousel@@ -235,18 +250,6 @@ fun HomeScreen(}}- if (showLibrary || filter == Feed.ALL) {- item(contentType = Feed.LIBRARY.name) { Heading("Le tue playlist") }- item(contentType = Feed.LIBRARY.name) {- Carousel(- playlists.take(if (showLibrary) LIBRARY_SIZE else CAROUSEL_SIZE),- key = { it.uri },- ) { playlist ->- PlaylistTile(playlist) { onOpenPlaylist(playlist) }- }- }- }-if (recent.isNotEmpty() && filter != Feed.ARTISTS) {item(contentType = Feed.LIBRARY.name) { Heading("Riascolta") }item(contentType = Feed.LIBRARY.name) {