Skip to content

Commit

Permalink
feat: disable explore/collection tab popup temporary
Browse files Browse the repository at this point in the history
Signed-off-by: James Chien <[email protected]>
  • Loading branch information
shc261392 committed Apr 25, 2024
1 parent 90d0724 commit 8c8cfac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/features/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,16 +429,17 @@ export class HomePage {
// window.location.reload();
this.iframeService.refreshCollectionTabIframe();
}
// const didExplain = await this.onboardingService.didExplainCollectionTab();
const didExplain = false;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
/* TODO: re-enable or remove the popup.
Hide the popup in current version as a temporary decision.
const didExplain = await this.onboardingService.didExplainCollectionTab();
if (didExplain === false) {
await new Promise(resolve => {
setTimeout(resolve, OnboardingService.ONBOARDING_POP_UP_DELAY);
});
this.showExplainCollectionTabPopUpDialog();
this.onboardingService.setDidExplainCollectionTab(true);
}
*/
}

private showExplainCollectionTabPopUpDialog() {
Expand Down

0 comments on commit 8c8cfac

Please sign in to comment.