add defensive empty tracks check in AlbumDetailView

Show a user-friendly i18n message with back button when an album loads
without tracks, instead of displaying a blank track list. Uses
album.loadError key in both en.json and es.json.
This commit is contained in:
vicrodh committed 2026-02-06 03:18:37 -06:00
1 parent 1dc61b50c5
commit 25dda16191
3 files changed
+40 -2

No files matched your search

+2 -1
View File
@@ -185,7 +185,8 @@
"addToPlaylist": "Agregar a Lista",
"makeAvailableOffline": "Disponible offline",
"makeAllAvailableOffline": "Todo disponible offline",
"disc": "Disco"
"disc": "Disco",
"loadError": "No se pudieron cargar las pistas del album. Intenta de nuevo."
},
"artist": {
"albums": "Álbumes",