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

Commit 577e6557 authored by Lorenzo M's avatar Lorenzo M Committed by Steve Kondik
Browse files

Settings: Add default value for display color control (2/2)

Change-Id: I50b684abe504c21ef49492f99b18873d75509697
parent a8d8a096
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class DisplayColor extends DialogPreference {
        defaultsButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                int defaultValue = DisplayColorCalibration.getMaxValue();
                int defaultValue = DisplayColorCalibration.getDefValue();
                for (int i = 0; i < mSeekBars.length; i++) {
                    mSeekBars[i].mSeekBar.setProgress(defaultValue);
                    mCurrentColors[i] = String.valueOf(defaultValue);