From 30f8a4e2bbfff589e69f69cceecdf5f7629c883c Mon Sep 17 00:00:00 2001 From: Chaikew <68963282+Chaikew@users.noreply.github.com> Date: Mon, 20 Oct 2025 11:50:01 +0200 Subject: [PATCH] fix(allapps): Fix inverted condition on hiding drawer folders in work/private profiles (#6004) The previous PR (#6002) had an inverted condition. This commit fixes this issue by removing the "not" sign. --- .../src/app/lawnchair/allapps/LawnchairAlphabeticalAppsList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lawnchair/src/app/lawnchair/allapps/LawnchairAlphabeticalAppsList.kt b/lawnchair/src/app/lawnchair/allapps/LawnchairAlphabeticalAppsList.kt index b89ca0eea1..0955fa0c5c 100644 --- a/lawnchair/src/app/lawnchair/allapps/LawnchairAlphabeticalAppsList.kt +++ b/lawnchair/src/app/lawnchair/allapps/LawnchairAlphabeticalAppsList.kt @@ -84,7 +84,7 @@ class LawnchairAlphabeticalAppsList( var position = startPosition // Show app drawer folders only on main profile, to prevent state complexity - if (!isWorkOrPrivateSpace(appList)) return super.addAppsWithSections(appList, position) + if (isWorkOrPrivateSpace(appList)) return super.addAppsWithSections(appList, position) if (!drawerListDefault) { val categorizedApps = potsManager.categorizeApps(appList)