mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-09 08:28:51 +01:00
make activity at fillItems nullable
This commit is contained in:
parent
b11cf0a525
commit
d2ecebba24
@ -80,7 +80,7 @@ class ItemsFragment : android.support.v4.app.Fragment(), ItemsAdapter.ItemOperat
|
||||
newItems.sort()
|
||||
|
||||
fragmentView.apply {
|
||||
activity.runOnUiThread {
|
||||
activity?.runOnUiThread {
|
||||
items_swipe_refresh.isRefreshing = false
|
||||
if (newItems.hashCode() == mItems.hashCode()) {
|
||||
return@runOnUiThread
|
||||
|
Loading…
x
Reference in New Issue
Block a user