Skip to content

Commit 90091ff

Browse files
committed
fix #374, show proper side bubble text at using Search
1 parent 1fcc63e commit 90091ff

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
173173
}
174174

175175
items_fastscroller.setViews(items_list, items_swipe_refresh) {
176-
items_fastscroller.updateBubbleText(storedItems.getOrNull(it)?.getBubbleText(context, storedDateFormat, storedTimeFormat)
177-
?: "")
176+
val listItem = getRecyclerAdapter()?.listItems?.getOrNull(it)
177+
items_fastscroller.updateBubbleText(listItem?.getBubbleText(context, storedDateFormat, storedTimeFormat) ?: "")
178178
}
179179

180180
getRecyclerLayoutManager().onRestoreInstanceState(scrollStates[currentPath])

0 commit comments

Comments
 (0)