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": "Add to Playlist",
"makeAvailableOffline": "Make available offline",
"makeAllAvailableOffline": "Make all available offline",
"disc": "Disc"
"disc": "Disc",
"loadError": "Could not load album tracks. Please try again."
},
"artist": {
"albums": "Albums",