From 1ed6d751212f290963d34d8859d7b361e1ef6d71 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Mon, 29 Aug 2022 09:40:55 -0600 Subject: [PATCH] home: make thumb visible if provider is found Make the thumb visible if a popup provider is found later. Fixes an issue where the fast scroll thumb would only be visible sometimes in the home view. --- .../org/oxycblt/auxio/home/fastscroll/FastScrollRecyclerView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/oxycblt/auxio/home/fastscroll/FastScrollRecyclerView.kt b/app/src/main/java/org/oxycblt/auxio/home/fastscroll/FastScrollRecyclerView.kt index a57f0a190..b7e36e8c3 100644 --- a/app/src/main/java/org/oxycblt/auxio/home/fastscroll/FastScrollRecyclerView.kt +++ b/app/src/main/java/org/oxycblt/auxio/home/fastscroll/FastScrollRecyclerView.kt @@ -212,6 +212,7 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr val popupText: String val provider = popupProvider if (firstPos != NO_POSITION && provider != null) { + popupView.isInvisible = false // Get the popup text. If there is none, we default to "?". popupText = provider.getPopup(firstPos) ?: "?" } else {