mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-09-21 21:25:04 -04:00
make activity nullable at updating items
This commit is contained in:
1 parent
8b4366b58f
commit
09275e6b95
1 file changed
+1
-1
@@ -130,7 +130,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
|
||||
FileDirItem.sorting = context!!.config.getFolderSorting(currentPath)
|
||||
fileDirItems.sort()
|
||||
activity!!.runOnUiThread {
|
||||
activity?.runOnUiThread {
|
||||
addItems(fileDirItems, forceRefresh)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user