Skip to content

Commit 09275e6

Browse files
committed
make activity nullable at updating items
1 parent 8b4366b commit 09275e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
130130

131131
FileDirItem.sorting = context!!.config.getFolderSorting(currentPath)
132132
fileDirItems.sort()
133-
activity!!.runOnUiThread {
133+
activity?.runOnUiThread {
134134
addItems(fileDirItems, forceRefresh)
135135
}
136136
}

0 commit comments

Comments
 (0)