Misnamed variable

This commit is contained in:
Zekovski 2023-08-15 12:44:30 +02:00
parent 4c00aa9a2e
commit 49cd05ee35
1 changed files with 2 additions and 2 deletions

View File

@ -141,8 +141,8 @@ public class FragmentThemingSettings extends PreferenceFragmentCompat implements
SET_CUSTOM_ACCENT_DARK_VALUE.setColor(darkValue);
}
if (SET_CUSTOM_ACCENT_LIGHT_VALUE != null) {
int darkValue = sharedpreferences.getInt(getString(R.string.SET_CUSTOM_ACCENT_LIGHT_VALUE) + currentUserID + currentInstance, -1);
SET_CUSTOM_ACCENT_LIGHT_VALUE.setColor(darkValue);
int lightValue = sharedpreferences.getInt(getString(R.string.SET_CUSTOM_ACCENT_LIGHT_VALUE) + currentUserID + currentInstance, -1);
SET_CUSTOM_ACCENT_LIGHT_VALUE.setColor(lightValue);
}
}