From 8c8cfacceffc849be882b8c9a7f4b3a610ba94fd Mon Sep 17 00:00:00 2001 From: James Chien Date: Thu, 25 Apr 2024 12:01:46 +0800 Subject: [PATCH] feat: disable explore/collection tab popup temporary Signed-off-by: James Chien --- src/app/features/home/home.page.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/features/home/home.page.ts b/src/app/features/home/home.page.ts index 4df6b6907..0de5d3ac7 100644 --- a/src/app/features/home/home.page.ts +++ b/src/app/features/home/home.page.ts @@ -429,9 +429,9 @@ 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); @@ -439,6 +439,7 @@ export class HomePage { this.showExplainCollectionTabPopUpDialog(); this.onboardingService.setDidExplainCollectionTab(true); } + */ } private showExplainCollectionTabPopUpDialog() {