mirror of
				https://github.com/SimpleMobileTools/Simple-File-Manager.git
				synced 2025-06-05 22:09:15 +02:00 
			
		
		
		
	use proper sorting at OTG files
This commit is contained in:
		| @@ -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)) | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user