fix: Custom notification dot colour not being applied (#6851)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2026-06-07 20:21:57 +07:00
committed by GitHub
parent 653f362baf
commit 2d5fd2b7cd
3 changed files with 3 additions and 4 deletions
@@ -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))
@@ -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;