Fix magic number

This commit is contained in:
sihala 2022-09-22 10:52:06 -04:00
parent 2727ed9d2e
commit fcce02ed89

View file

@ -39,7 +39,7 @@ data class Track(
when {
title == MediaStore.UNKNOWN_STRING && other.title != MediaStore.UNKNOWN_STRING -> 1
title != MediaStore.UNKNOWN_STRING && other.title == MediaStore.UNKNOWN_STRING -> -1
else -> AlphanumericComparator().compare(getProperTitle(3).toLowerCase(), other.getProperTitle(3).toLowerCase())
else -> AlphanumericComparator().compare(getProperTitle(SHOW_FILENAME_ALWAYS).toLowerCase(), other.getProperTitle(SHOW_FILENAME_ALWAYS).toLowerCase())
}
}
sorting and PLAYER_SORT_BY_ARTIST_TITLE != 0 -> {