mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Fix the sorting of playlists in the library
This commit is contained in:
parent
7f2f012a1c
commit
71eb197689
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user