Skip to content

Commit 338125d

Browse files
committed
fix #313, properly update breadcrumbs also at empty folders
1 parent 44755a8 commit 338125d

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
141141
mView.apply {
142142
activity?.runOnUiThread {
143143
items_swipe_refresh?.isRefreshing = false
144+
mView.breadcrumbs.setBreadcrumb(currentPath)
144145
if (!forceRefresh && items.hashCode() == storedItems.hashCode()) {
145146
return@runOnUiThread
146147
}
147148

148-
mView.breadcrumbs.setBreadcrumb(currentPath)
149149
storedItems = items
150150
ItemsAdapter(activity as SimpleActivity, storedItems, this@ItemsFragment, items_list, isPickMultipleIntent, items_fastscroller) {
151151
itemClicked(it as FileDirItem)

0 commit comments

Comments
 (0)