Merge pull request #1807 from domingos86/fix-double-if
fix double if on FeedItemlistAdapter
This commit is contained in:
commit
b5dc97156e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue