Merge pull request #1807 from domingos86/fix-double-if
fix double if on FeedItemlistAdapter
This commit is contained in:
commit
b5dc97156e
|
@ -190,14 +190,12 @@ public class FeedItemlistAdapter extends BaseAdapter {
|
|||
holder.type.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if(media.isCurrentlyPlaying()) {
|
||||
if(media.isCurrentlyPlaying()) {
|
||||
holder.container.setBackgroundColor(playingBackGroundColor);
|
||||
} else {
|
||||
holder.container.setBackgroundColor(normalBackGroundColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
boolean isInQueue = itemAccess.isInQueue(item);
|
||||
actionButtonUtils.configureActionButton(holder.butAction, item, isInQueue);
|
||||
|
|
Loading…
Reference in New Issue