Update Accessibility

Update the content descriptions on the ImageViews.
This commit is contained in:
OxygenCobalt
2020-09-18 16:30:04 -06:00
parent 602cc2153f
commit 4d47dcd464
10 changed files with 21 additions and 17 deletions
@@ -188,16 +188,12 @@ class MusicLoader(
while (cursor.moveToNext()) {
val id = cursor.getLong(idIndex)
var name = cursor.getString(nameIndex) ?: albumPlaceholder
val artist = cursor.getString(artistIndex)
val name = cursor.getString(nameIndex) ?: albumPlaceholder
val artist = cursor.getString(artistIndex) ?: artistPlaceholder
val year = cursor.getInt(yearIndex)
val coverUri = id.toAlbumArtURI()
// Sometimes the android system will return 0 for an album name, update
// it properly if that happens.
name = if (name == "0") albumPlaceholder else name
albums.add(
Album(
id, name, artist,