Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b74881f authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Use the correct color in theme thumbnail tile

Resolve the accent color to light/dark based on the current
config.

Bug: 137086778
Change-Id: I101ae3880356cde6fb8dfdd16ebc7ff3c3437df3
parent 55d49dec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public class ThemeBundle implements CustomizationOption<ThemeBundle> {
                mPreviewInfo.headlineFontFamily);
        if (mPreviewInfo.shapeDrawable != null) {
            ((ShapeDrawable) mPreviewInfo.shapeDrawable).getPaint().setColor(
                    mPreviewInfo.colorAccentLight);
                    mPreviewInfo.resolveAccentColor(res));
            ((ImageView) view.findViewById(R.id.theme_option_shape)).setImageDrawable(
                    mPreviewInfo.shapeDrawable);
        }