Skip to content
Snippets Groups Projects
Commit 5b9e9e60 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

TV: Fix alpha sorting

parent 7c53b343
No related branches found
No related tags found
No related merge requests found
Pipeline #4173 passed with stage
in 3 minutes and 43 seconds
......@@ -97,7 +97,9 @@ object ModelsHelper {
}
}
}
array
if (sort == Medialibrary.SORT_DEFAULT || sort == Medialibrary.SORT_FILENAME || sort == Medialibrary.SORT_ALPHA)
array.toSortedMap()
else array
}
fun getHeader(context: Context, sort: Int, item: MediaLibraryItem, aboveItem: MediaLibraryItem?) = when (sort) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment