Fixed Album artist sort order in Albums tab

This commit is contained in:
Prathamesh More 2021-12-01 18:05:16 +05:30
parent 12cf446375
commit fd639d6348
5 changed files with 8 additions and 7 deletions

View file

@ -241,7 +241,7 @@ object MusicUtil : KoinComponent {
var musicMediaTitle = mediaTitle
return try {
if (TextUtils.isEmpty(musicMediaTitle)) {
return ""
return "-"
}
musicMediaTitle = musicMediaTitle!!.trim { it <= ' ' }.lowercase()
if (musicMediaTitle.startsWith("the ")) {