mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-07 05:23:05 -05:00
handle dragging the scrollbar at empty folders
This commit is contained in:
1 parent
e20dde8a33
commit
e45d2293f4
1 file changed
+2
-1
@@ -147,7 +147,8 @@ class ItemsFragment : Fragment(), ItemsAdapter.ItemOperationsListener, Breadcrum
|
||||
}
|
||||
items_fastscroller.allowBubbleDisplay = context.config.showInfoBubble
|
||||
items_fastscroller.setViews(items_list, items_swipe_refresh) {
|
||||
items_fastscroller.updateBubbleText(storedItems[it].getBubbleText())
|
||||
val item = storedItems.getOrNull(it)
|
||||
items_fastscroller.updateBubbleText(item?.getBubbleText() ?: "")
|
||||
}
|
||||
} else {
|
||||
(currAdapter as ItemsAdapter).updateItems(storedItems)
|
||||
|
||||
Reference in new issue
Block a user