mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-17 04:10:39 +01: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)
|
||||
fileDirItems.sort()
|
||||
activity!!.runOnUiThread {
|
||||
activity?.runOnUiThread {
|
||||
addItems(fileDirItems, forceRefresh)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user