Hide Friends section

This commit is contained in:
redphx
2025-02-04 20:54:56 +07:00
parent d4f070f6bb
commit ff9a7962c5
3 changed files with 3 additions and 3 deletions

View File

@@ -5761,7 +5761,7 @@ ${subsVar} = subs;
] : []
]), hideSections = getGlobalPref("ui.hideSections"), HOME_PAGE_PATCH_ORDERS = PatcherUtils.filterPatches([
hideSections.includes("news") && "ignoreNewsSection",
hideSections.includes("friends") && "ignorePlayWithFriendsSection",
(getGlobalPref("block.features").includes("friends") || hideSections.includes("friends")) && "ignorePlayWithFriendsSection",
hideSections.includes("all-games") && "ignoreAllGamesSection",
hideSections.includes("genres") && "ignoreGenresSection",
!getGlobalPref("block.features").includes("byog") && hideSections.includes("byog") && "ignoreByogSection",