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:43:39 -06:00
parent 8a70ece442
commit 9f7a012706
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
3 changed files with 5 additions and 8 deletions

View file

@ -7,7 +7,6 @@
- Search and library now show playing indicators
- Playing indicators are now animated when playback is ongoing
- Added smooth seeking
- Queue now has a fast scroller
#### What's Fixed
- Fixed issue where fast scroller popup would not appear

View file

@ -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

View file

@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.oxycblt.auxio.ui.fastscroll.FastScrollRecyclerView
<org.oxycblt.auxio.ui.recycler.AuxioRecyclerView
android:id="@+id/queue_recycler"
style="@style/Widget.Auxio.RecyclerView.Linear"
android:layout_width="match_parent"