fix #313, properly update breadcrumbs also at empty folders
This commit is contained in:
parent
44755a82f2
commit
338125dbad
1 changed files with 1 additions and 1 deletions
|
@ -141,11 +141,11 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
mView.apply {
|
||||
activity?.runOnUiThread {
|
||||
items_swipe_refresh?.isRefreshing = false
|
||||
mView.breadcrumbs.setBreadcrumb(currentPath)
|
||||
if (!forceRefresh && items.hashCode() == storedItems.hashCode()) {
|
||||
return@runOnUiThread
|
||||
}
|
||||
|
||||
mView.breadcrumbs.setBreadcrumb(currentPath)
|
||||
storedItems = items
|
||||
ItemsAdapter(activity as SimpleActivity, storedItems, this@ItemsFragment, items_list, isPickMultipleIntent, items_fastscroller) {
|
||||
itemClicked(it as FileDirItem)
|
||||
|
|
Loading…
Reference in a new issue