Skip to content

Commit

Permalink
add setOnboardingCustomChoices
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiceli committed Sep 25, 2024
1 parent ffc3d00 commit c17d7c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/actions/Welcome/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ function checkOnboardingDataReady() {
resolveOnboardingFlowStatus();
}

function setOnboardingCustomChoices(value: string[]) {
Onyx.set(ONYXKEYS.ONBOARDING_CUSTOM_CHOICES, value ?? null);
}

function setOnboardingPurposeSelected(value: OnboardingPurposeType) {
Onyx.set(ONYXKEYS.ONBOARDING_PURPOSE_SELECTED, value ?? null);
}
Expand Down Expand Up @@ -239,6 +243,7 @@ function resetAllChecks() {
export {
onServerDataReady,
isOnboardingFlowCompleted,
setOnboardingCustomChoices,
setOnboardingPurposeSelected,
updateOnboardingLastVisitedPath,
resetAllChecks,
Expand Down

0 comments on commit c17d7c1

Please sign in to comment.