We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aeed4b commit 255966bCopy full SHA for 255966b
1 file changed
src/Features/tutorialv1.ts
@@ -1,16 +1,17 @@
1
import { defaultAssetsUrl } from "./default_assets_url";
2
3
+export const TUTORIAL_V1_URL = `${defaultAssetsUrl}/tutorialv1.html`;
4
+
5
export function launchTutorialv1(): void {
- const tutoUrl = `${defaultAssetsUrl}/tutorialv1.html`;
- console.info("Start onboarding application!", tutoUrl);
6
+ console.info("Start onboarding application!", TUTORIAL_V1_URL);
7
8
console.info("Player tutorial done information: ", WA.player.state.tutorialDone);
9
if (WA.player.state.tutorialDone) return;
10
11
//open modal and show onboarding tuto
12
WA.ui.modal.openModal({
13
title: "Welcome onboard!",
- src: tutoUrl,
14
+ src: TUTORIAL_V1_URL,
15
allow: "fullscreen; clipboard-read; clipboard-write",
16
allowApi: true,
17
position: "right",
0 commit comments