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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user