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

Commit 08307462 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Fix palette for conversation themes

parent d96d1b9b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -521,12 +521,13 @@ public class ThemeManager {

        holder.mPalette.init(19, 4, color -> {
            holder.mPalette.init(getSwatch(color).length, 4, color2 -> {
                setColor(context, color2);
                setActiveColor(color2);
                saveListener.onClick(null);
                dialog.dismiss();
            });
            holder.mPalette.drawPalette(getSwatch(color), mColor);
            holder.mPalette.drawPalette(getSwatch(color), getColor());
        });
        holder.mPalette.drawPalette(PALETTE, getSwatchColor(mColor));
        holder.mPalette.drawPalette(PALETTE, getSwatchColor(getColor()));


        SeekBar.OnSeekBarChangeListener seekListener = new SeekBar.OnSeekBarChangeListener() {