Skip to content

Commit

Permalink
Merge pull request #618 from arconnectio/staging
Browse files Browse the repository at this point in the history
Arconnect 1.23.2
  • Loading branch information
pawanpaudel93 authored Jan 16, 2025
2 parents 8a7b9d8 + f3db443 commit b401921
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wallets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ export async function openOrSelectWelcomePage(force = false) {

// Make sure we clear any stored value from previous installations before
// opening the welcome page to onboard the user:
await resetStorage();
// Skip reset for test environment
const manifest = browser.runtime.getManifest();
if (manifest["__TEST_MODE__"] !== true) {
await resetStorage();
}

const url = browser.runtime.getURL("tabs/welcome.html");
const welcomePageTabs = await browser.tabs.query({ url });
Expand Down

0 comments on commit b401921

Please sign in to comment.