shorten a bubble text getter
This commit is contained in:
parent
a86538ba39
commit
bf843e46dc
|
@ -147,8 +147,7 @@ class ItemsFragment : Fragment(), ItemsAdapter.ItemOperationsListener, Breadcrum
|
||||||
}
|
}
|
||||||
items_fastscroller.allowBubbleDisplay = context.config.showInfoBubble
|
items_fastscroller.allowBubbleDisplay = context.config.showInfoBubble
|
||||||
items_fastscroller.setViews(items_list, items_swipe_refresh) {
|
items_fastscroller.setViews(items_list, items_swipe_refresh) {
|
||||||
val item = storedItems.getOrNull(it)
|
items_fastscroller.updateBubbleText(storedItems.getOrNull(it)?.getBubbleText() ?: "")
|
||||||
items_fastscroller.updateBubbleText(item?.getBubbleText() ?: "")
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
(currAdapter as ItemsAdapter).updateItems(storedItems)
|
(currAdapter as ItemsAdapter).updateItems(storedItems)
|
||||||
|
|
Loading…
Reference in New Issue