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

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