fix: Custom notification dot colour not being applied (#6851)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
@@ -133,8 +133,6 @@ object ColorTokens {
|
||||
|
||||
@JvmField val SearchboxHighlightBlur = SearchboxHighlight.setAlpha(.54f)
|
||||
|
||||
@JvmField val FolderDotColor = Accent3_100
|
||||
|
||||
@JvmField val DotColor = Accent3_200
|
||||
|
||||
@JvmField val FolderBackgroundColor = DayNightColorToken(Neutral1_50.setLStar(94.0), Neutral2_900.setLStar(12.0))
|
||||
|
||||
Submodule platform_frameworks_libs_systemui updated: 33becd76df...ce6a6128ef
@@ -196,7 +196,8 @@ public class PreviewBackground extends DelegatedCellDrawing {
|
||||
int folderColor = colorOption.getColorPreferenceEntry().getLightColor().invoke(context);
|
||||
|
||||
TypedArray ta = context.getTheme().obtainStyledAttributes(R.styleable.FolderIconPreview);
|
||||
mDotColor = ColorTokens.FolderDotColor.resolveColor(context);
|
||||
ColorOption dotColorOption = PreferenceExtensionsKt.firstBlocking(preferenceManager2.getNotificationDotColor());
|
||||
mDotColor = dotColorOption.getColorPreferenceEntry().getLightColor().invoke(context);
|
||||
mStrokeColor = ColorTokens.FolderIconBorderColor.resolveColor(context);
|
||||
if (folderColor != 0) {
|
||||
mBgColor = folderColor;
|
||||
|
||||
Reference in New Issue
Block a user