Honor makePlayedItemsTransparent flag
This commit is contained in:
parent
ec21642a8c
commit
2304d1d141
@ -65,6 +65,10 @@ public class FeedItemlistAdapter extends BaseAdapter {
|
|||||||
holder.bind(item);
|
holder.bind(item);
|
||||||
holder.dragHandle.setVisibility(View.GONE);
|
holder.dragHandle.setVisibility(View.GONE);
|
||||||
|
|
||||||
|
if (!makePlayedItemsTransparent) {
|
||||||
|
holder.itemView.setAlpha(1.0f);
|
||||||
|
}
|
||||||
|
|
||||||
if (item.getMedia() != null && item.getMedia().isCurrentlyPlaying()) {
|
if (item.getMedia() != null && item.getMedia().isCurrentlyPlaying()) {
|
||||||
currentlyPlayingItem = position;
|
currentlyPlayingItem = position;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user