Merge pull request #2462 from Bnyro/master

Fix the sorting of playlists in the library
This commit is contained in:
Bnyro 2022-12-21 11:27:25 +01:00 committed by GitHub
commit a1ea4e42d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,8 +116,8 @@ class LibraryFragment : BaseFragment() {
) { ) {
"recent" -> playlists "recent" -> playlists
"recent_reversed" -> playlists.reversed() "recent_reversed" -> playlists.reversed()
"name" -> playlists.sortedBy { it.name } "name" -> playlists.sortedBy { it.name?.lowercase() }
"name_reversed" -> playlists.sortedBy { it.name }.reversed() "name_reversed" -> playlists.sortedBy { it.name?.lowercase() }.reversed()
else -> playlists else -> playlists
} }