mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
Merge pull request #2462 from Bnyro/master
Fix the sorting of playlists in the library
This commit is contained in:
commit
a1ea4e42d1
@ -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