Got code cleanup happy... all fixed

main
thomas 2020-09-21 00:31:53 -04:00
parent 6747af076f
commit 991c4ee36e
1 changed files with 4 additions and 1 deletions

View File

@ -299,7 +299,10 @@ object MusicUtil : KoinComponent {
return tempName == "unknown" || tempName == "<unknown>" return tempName == "unknown" || tempName == "<unknown>"
} }
fun isVariousArtists(artistName: String): Boolean { fun isVariousArtists(artistName: String?): Boolean {
if (TextUtils.isEmpty(artistName)) {
return false
}
if (artistName == Artist.VARIOUS_ARTISTS_DISPLAY_NAME) { if (artistName == Artist.VARIOUS_ARTISTS_DISPLAY_NAME) {
return true return true
} }