From bd63b2f9b8397ec041883b5bbd21154a762816e3 Mon Sep 17 00:00:00 2001 From: DrDisagree <29881338+Mahmud0808@users.noreply.github.com> Date: Mon, 20 Apr 2026 15:55:55 +0600 Subject: [PATCH] Add custom folder color constants to visibility check in PrefsHelper --- .../pixellauncherenhanced/data/config/PrefsHelper.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/drdisagree/pixellauncherenhanced/data/config/PrefsHelper.kt b/app/src/main/java/com/drdisagree/pixellauncherenhanced/data/config/PrefsHelper.kt index 5fca86e..3137477 100644 --- a/app/src/main/java/com/drdisagree/pixellauncherenhanced/data/config/PrefsHelper.kt +++ b/app/src/main/java/com/drdisagree/pixellauncherenhanced/data/config/PrefsHelper.kt @@ -8,6 +8,8 @@ import com.drdisagree.pixellauncherenhanced.data.common.Constants.DESKTOP_SEARCH import com.drdisagree.pixellauncherenhanced.data.common.Constants.DESKTOP_SEARCH_BAR_OPACITY import com.drdisagree.pixellauncherenhanced.data.common.Constants.DEVELOPER_OPTIONS import com.drdisagree.pixellauncherenhanced.data.common.Constants.FIXED_RECENTS_BUTTONS_WIDTH +import com.drdisagree.pixellauncherenhanced.data.common.Constants.FOLDER_CUSTOM_COLOR_DARK +import com.drdisagree.pixellauncherenhanced.data.common.Constants.FOLDER_CUSTOM_COLOR_LIGHT import com.drdisagree.pixellauncherenhanced.data.common.Constants.FREEFORM_GESTURE import com.drdisagree.pixellauncherenhanced.data.common.Constants.FREEFORM_GESTURE_PROGRESS import com.drdisagree.pixellauncherenhanced.data.common.Constants.FREEFORM_MODE @@ -42,7 +44,9 @@ object PrefsHelper { THEMED_ICON_CUSTOM_FG_COLOR_LIGHT, THEMED_ICON_CUSTOM_BG_COLOR_LIGHT, THEMED_ICON_CUSTOM_FG_COLOR_DARK, - THEMED_ICON_CUSTOM_BG_COLOR_DARK -> getBoolean(THEMED_ICON_CUSTOM_COLOR) + THEMED_ICON_CUSTOM_BG_COLOR_DARK, + FOLDER_CUSTOM_COLOR_LIGHT, + FOLDER_CUSTOM_COLOR_DARK -> getBoolean(THEMED_ICON_CUSTOM_COLOR) DESKTOP_SEARCH_BAR_OPACITY -> isPixelLauncher && !getBoolean(DESKTOP_SEARCH_BAR)