Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 643e1e6e authored by Amit Kumar's avatar Amit Kumar
Browse files

Prevent accent tinting of icons not provided by Settings

Change-Id: I8bbcc07e51c05e154e129ab2bc2a0785d6cc66e3
parent 3d762496
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ public class DashboardAdapter extends RecyclerView.Adapter<DashboardAdapter.Dash
        mCategories = categories;

        // TODO: Better place for tinting?
        TypedValue tintColor = new TypedValue();
        /*TypedValue tintColor = new TypedValue();
        mContext.getTheme().resolveAttribute(com.android.internal.R.attr.colorAccent,
                tintColor, true);
        for (int i = 0; i < categories.size(); i++) {
@@ -129,7 +129,7 @@ public class DashboardAdapter extends RecyclerView.Adapter<DashboardAdapter.Dash
                    tile.icon.setTint(tintColor.data);
                }
            }
        }
        }*/
        recountItems();
    }