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 authored and GitHub committed 2026-06-07 20:21:57 +07:00
1 parent 653f362baf
commit 2d5fd2b7cd
3 files changed
+3 -4

No files matched your search

@@ -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;