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.
This commit is contained in:
Chaikew
2025-10-20 11:50:01 +02:00
committed by GitHub
parent dd786afa4b
commit 30f8a4e2bb

View File

@@ -84,7 +84,7 @@ class LawnchairAlphabeticalAppsList<T>(
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)