mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-10 17:00:43 +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()
|
newItems.sort()
|
||||||
|
|
||||||
fragmentView.apply {
|
fragmentView.apply {
|
||||||
activity.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
items_swipe_refresh.isRefreshing = false
|
items_swipe_refresh.isRefreshing = false
|
||||||
if (newItems.hashCode() == mItems.hashCode()) {
|
if (newItems.hashCode() == mItems.hashCode()) {
|
||||||
return@runOnUiThread
|
return@runOnUiThread
|
||||||
|
Loading…
x
Reference in New Issue
Block a user