mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Fix contrast issue with folder background and text colors.
Bug: 187797251 Test: dark wallpaper, light wallpaper, toggle dark theme on both Change-Id: I57ddfc91878d68735d5ae5ec5ab78222fda101ca
This commit is contained in:
@@ -296,6 +296,8 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
}
|
||||
|
||||
if (Utilities.ATLEAST_S) {
|
||||
mColorExtractionIndex = LocalColorExtractor.getColorIndex(
|
||||
!Themes.getAttrBoolean(getContext(), R.attr.isFolderDarkText));
|
||||
mColorExtractor = LocalColorExtractor.newInstance(getContext());
|
||||
mColorListener = (RectF rect, SparseIntArray extractedColors) -> {
|
||||
mColorChangeRunnable = () -> {
|
||||
|
||||
Reference in New Issue
Block a user