Skip to content

Commit 194761d

Browse files
MelvinBotdangrous
andcommitted
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 <dangrous@users.noreply.github.com>
1 parent 9fe568d commit 194761d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/libs/Permissions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ function isBetaEnabled(beta: Beta, betas: OnyxEntry<Beta[]>, betaConfiguration?:
2929
}
3030

3131
/**
32-
* Track flows are temporarily disabled.
32+
* Track flows ("Share with my accountant", "Categorize it") are hardcoded off.
33+
* TODO: Remove this gate and its call sites once the new track flows feature is complete.
34+
* See: https://github.com/Expensify/Expensify/issues/504214
3335
*/
3436
function canUseTrackFlows(): boolean {
3537
return false;

0 commit comments

Comments
 (0)