Skip to content

Commit

Permalink
Fix enter background color on wallpaper mode
Browse files Browse the repository at this point in the history
  • Loading branch information
frknkrc44 committed Feb 17, 2024
1 parent eb64483 commit 9f817ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ public static void setColorsFromBitmap(Bitmap b) {
getAppDB().putInteger(SettingMap.SET_KEY_PRESS_BGCLR, keyPressClr);
getAppDB().putInteger(SettingMap.SET_KEY2_PRESS_BGCLR, keyPress2Clr);
boolean isLight = ColorUtils.satisfiesTextContrast(c);
getAppDB().putInteger(SettingMap.SET_ENTER_BGCLR, isLight ? keyPressClr : 0xFFFFFFFF);
getAppDB().putInteger(SettingMap.SET_ENTER_BGCLR, ColorUtils.getDarkerColor(keyPress2Clr));
keyClr = isLight ? 0xFF212121 : 0xFFDEDEDE;
getAppDB().putInteger(SettingMap.SET_KEY_TEXTCLR, keyClr);
getAppDB().putInteger(SettingMap.SET_KEY_SHADOWCLR, keyClr ^ 0x00FFFFFF);
Expand Down

0 comments on commit 9f817ba

Please sign in to comment.