Skip to content

Commit

Permalink
use proper sorting at OTG files
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi committed Mar 29, 2019
1 parent 9d045c3 commit dfbb228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
if (activity?.isDestroyed == false && activity?.isFinishing == false) {
val config = context!!.config
if (context!!.isPathOnOTG(path) && config.OTGTreeUri.isNotEmpty()) {
val getProperFileSize = config.sorting and SORT_BY_SIZE != 0
val getProperFileSize = context!!.config.getFolderSorting(currentPath) and SORT_BY_SIZE != 0
context!!.getOTGItems(path, config.shouldShowHidden, getProperFileSize) {
callback(path, getListItemsFromFileDirItems(it))
}
Expand Down

0 comments on commit dfbb228

Please sign in to comment.