diff options
Diffstat (limited to 'src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java')
-rw-r--r-- | src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java b/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java index fd0045e63..4ab0ea34b 100644 --- a/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java +++ b/src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java @@ -81,9 +81,7 @@ public class BaseRecyclerViewFastScrollBar { mTrackPaint = new Paint(); mTrackPaint.setColor(rv.getFastScrollerTrackColor(Color.BLACK)); mTrackPaint.setAlpha(MAX_TRACK_ALPHA); - mThumbInactiveColor = rv.getFastScrollerThumbInactiveColor( - res.getColor(R.color.container_fastscroll_thumb_inactive_color)); - mThumbActiveColor = res.getColor(R.color.container_fastscroll_thumb_active_color); + mThumbActiveColor = mThumbInactiveColor = Utilities.getColorAccent(rv.getContext()); mThumbPaint = new Paint(); mThumbPaint.setAntiAlias(true); mThumbPaint.setColor(mThumbInactiveColor); |