don't always reenable swipeRefreshLayout after drag & drop

This commit is contained in:
tibbi 2021-05-13 22:53:33 +02:00
parent a50be5ae6a
commit 8d508bd883

View file

@ -864,6 +864,6 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
}
override fun onRowClear(myViewHolder: ViewHolder?) {
swipeRefreshLayout?.isEnabled = true
swipeRefreshLayout?.isEnabled = activity.config.enablePullToRefresh
}
}