From 2aa1cfe9d6681865ec983821d7a9719805cd6dc3 Mon Sep 17 00:00:00 2001 From: Dev4Mod Date: Tue, 14 May 2024 11:08:25 -0300 Subject: [PATCH] Fix bug --- .../wppenhacer/xposed/features/customization/CustomTheme.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomTheme.java b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomTheme.java index 05d0676b..e5a05793 100644 --- a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomTheme.java +++ b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomTheme.java @@ -84,7 +84,7 @@ private void hookColors() throws Exception { var secondaryColor = secondaryColorInt == 0 ? "0" : String.format("#%08X", secondaryColorInt); var backgroundColor = backgroundColorInt == 0 ? "0" : String.format("#%08X", backgroundColorInt); - if (!prefs.getBoolean("changecolor", false)) { + if (prefs.getBoolean("changecolor", false)) { for (var c : IColors.colors.keySet()) { if (!primaryColor.equals("0")) { switch (c) {