Honor makePlayedItemsTransparent flag

This commit is contained in:
ByteHamster 2020-02-05 17:23:22 +01:00
parent ec21642a8c
commit 2304d1d141
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ public class FeedItemlistAdapter extends BaseAdapter {
holder.bind(item);
holder.dragHandle.setVisibility(View.GONE);
if (!makePlayedItemsTransparent) {
holder.itemView.setAlpha(1.0f);
}
if (item.getMedia() != null && item.getMedia().isCurrentlyPlaying()) {
currentlyPlayingItem = position;
}