fix double if

This commit is contained in:
Domingos Lopes 2016-03-22 02:42:26 -04:00
parent a994cd4c08
commit 4302d78f1f

View File

@ -191,11 +191,9 @@ public class FeedItemlistAdapter extends BaseAdapter {
}
if(media.isCurrentlyPlaying()) {
if(media.isCurrentlyPlaying()) {
holder.container.setBackgroundColor(playingBackGroundColor);
} else {
holder.container.setBackgroundColor(normalBackGroundColor);
}
holder.container.setBackgroundColor(playingBackGroundColor);
} else {
holder.container.setBackgroundColor(normalBackGroundColor);
}
}