Fix the sorting of playlists in the library

This commit is contained in:
Bnyro 2022-12-21 11:25:38 +01:00
parent 7f2f012a1c
commit 71eb197689

View File

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