Merge pull request #1807 from domingos86/fix-double-if

fix double if on FeedItemlistAdapter
This commit is contained in:
Martin Fietz 2016-03-22 08:30:52 +01:00
commit b5dc97156e
1 changed files with 3 additions and 5 deletions

View File

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