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

Folder media can't be sorted by last modified date

parent 114d6c3f
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ open class VideosModel(context: Context, private val group: String?, val folder
override val sortKey = "${super.sortKey}_$group"
override fun canSortByFileNameName() = true
override fun canSortByDuration() = true
override fun canSortByLastModified() = true
override fun canSortByLastModified() = folder == null
private val thumbObs = Observer<MediaWrapper> { media -> if (!updateActor.isClosedForSend) updateActor.offer(MediaUpdate(listOf(media!!))) }
......
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