Skip to content

Commit 6608c4a

Browse files
committed
fix(home.page): use helper method to decide show or hide onboarding page
1 parent 4436d26 commit 6608c4a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/app/features/home/home.page.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,7 @@ export class HomePage {
107107
}
108108

109109
private async onboardingRedirect() {
110-
if (
111-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
112-
!this.userGuideIsTemporarelyDisabled &&
113-
this.platform.is('ios') &&
114-
(await this.onboardingService.hasShownTutorialVersion()) === ''
115-
) {
110+
if (await this.onboardingService.shouldShowOnboardingTutotrial()) {
116111
return this.router.navigate(['tutorial'], {
117112
relativeTo: this.route,
118113
});

0 commit comments

Comments
 (0)