Fixed the white playlist icon on Android Marshmallow. Removed unnecessary code.

This commit is contained in:
Karim Abou Zeid 2015-10-28 11:58:03 +01:00
commit c7c0ae3931
3 changed files with 4 additions and 9 deletions

View file

@ -194,7 +194,7 @@ public class ViewUtil {
for (int i = 0; i < menu.size(); i++) {
MenuItem item = menu.getItem(i);
if (item.getIcon() != null) {
item.getIcon().setColorFilter(color, PorterDuff.Mode.SRC_IN);
item.getIcon().mutate().setColorFilter(color, PorterDuff.Mode.SRC_IN);
}
}