queue: remove fast scroller

Temporarily remove the fast scroller for now, as I want to bundle it
with adding a scroller to the detail view in a single release.
This commit is contained in:
Alexander Capehart
2022-09-02 21:44:28 -06:00
parent 8a70ece442
commit 9f7a012706
3 changed files with 5 additions and 8 deletions
@@ -96,7 +96,10 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
invalidateIndicator()
}
fun updateIndicator(isActive: Boolean, isPlaying: Boolean) {}
override fun setEnabled(enabled: Boolean) {
super.setEnabled(enabled)
invalidateIndicator()
}
var isPlaying: Boolean
get() = indicator.isPlaying
@@ -104,11 +107,6 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
indicator.isPlaying = value
}
override fun setEnabled(enabled: Boolean) {
super.setEnabled(enabled)
invalidateIndicator()
}
private fun invalidateIndicator() {
if (isActivated) {
alpha = 1f