mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-10-27 00:58:42 -04:00
fixing a null context crash
This commit is contained in:
1 parent
fc4ff11dc6
commit
68f1cbeb7f
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user