mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-16 20:00:36 +01:00
fixing a null context crash
This commit is contained in:
parent
fc4ff11dc6
commit
68f1cbeb7f
@ -194,6 +194,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
val files = File(path).listFiles()?.filterNotNull()
|
||||
if (context == null) {
|
||||
callback(path, items)
|
||||
return
|
||||
}
|
||||
|
||||
val isSortingBySize = context!!.config.sorting and SORT_BY_SIZE != 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user