From 4711c2980ac3e94fea447a920e36ccf7fe3af75c Mon Sep 17 00:00:00 2001 From: Krzysztof Jan Modras Date: Fri, 16 Oct 2020 10:44:25 +0200 Subject: [PATCH 1/2] fix: show the onboarding on first start --- src/choice-screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/choice-screen.js b/src/choice-screen.js index 9bc6644..8c3de78 100644 --- a/src/choice-screen.js +++ b/src/choice-screen.js @@ -1,6 +1,6 @@ async function onboarding() { const { isOnboardingCompleted } = await browser.storage.local.get("isOnboardingCompleted"); - if (isOnboardingCompleted) { + if (!isOnboardingCompleted) { await browser.tabs.create({ url: browser.extension.getURL('pages/choice-screen.html'), }); From 94d34c5383142bb0cffb4207cdce38aa7fcc984e Mon Sep 17 00:00:00 2001 From: Krzysztof Jan Modras Date: Fri, 16 Oct 2020 12:18:19 +0200 Subject: [PATCH 2/2] Show onboarding on first start --- src/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifest.json b/src/manifest.json index 5582c09..ab6ff92 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,5 @@ { - "version": "0.1.1", + "version": "0.1.2", "browser_specific_settings": { "gecko": { "id": "search@ghostery.com"