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

View File

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