mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-04-30 18:08:39 +02:00
make activity nullable at updating items
This commit is contained in:
parent
8b4366b58f
commit
09275e6b95
@ -130,7 +130,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||||||
|
|
||||||
FileDirItem.sorting = context!!.config.getFolderSorting(currentPath)
|
FileDirItem.sorting = context!!.config.getFolderSorting(currentPath)
|
||||||
fileDirItems.sort()
|
fileDirItems.sort()
|
||||||
activity!!.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
addItems(fileDirItems, forceRefresh)
|
addItems(fileDirItems, forceRefresh)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user