Prevent the addition of duplicate queue items

Band-aid over a bug with DiffCallback that causes weird behavior with duplicate queue items by disallowing the addition of queue items if theyre already allowed.
This commit is contained in:
OxygenCobalt
2020-11-12 19:25:43 -07:00
parent 604145fb69
commit 2aa630948b
14 changed files with 59 additions and 43 deletions
@@ -45,6 +45,8 @@
android:layout_height="0dp"
android:layout_margin="@dimen/margin_mid_large"
android:contentDescription="@{@string/description_album_cover(song.name)}"
android:outlineProvider="bounds"
android:elevation="4dp"
app:coverArt="@{song}"
app:layout_constraintBottom_toTopOf="@+id/playback_song"
app:layout_constraintDimensionRatio="1:1"