From 194761d7ed7595afbf4bd2c91ac8dbf624c8f7e4 Mon Sep 17 00:00:00 2001 From: "Daniel Gale-Rosen (via MelvinBot)" Date: Fri, 1 May 2026 19:58:06 +0000 Subject: [PATCH] Clarify canUseTrackFlows comment with TODO for removal Update the comment on the hardcoded canUseTrackFlows() gate to explain what the track flows are and link to the tracking issue so we know to remove this gate and its call sites when the new track flows feature is complete. Co-authored-by: Daniel Gale-Rosen --- src/libs/Permissions.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/Permissions.ts b/src/libs/Permissions.ts index ef9f5f78856d..f5024dfc37ac 100644 --- a/src/libs/Permissions.ts +++ b/src/libs/Permissions.ts @@ -29,7 +29,9 @@ function isBetaEnabled(beta: Beta, betas: OnyxEntry, betaConfiguration?: } /** - * Track flows are temporarily disabled. + * Track flows ("Share with my accountant", "Categorize it") are hardcoded off. + * TODO: Remove this gate and its call sites once the new track flows feature is complete. + * See: https://github.com/Expensify/Expensify/issues/504214 */ function canUseTrackFlows(): boolean { return false;